Interface Question

  • All Known Implementing Classes:
    QuestionImpl

    public interface Question
    A Question object represents a question asked for the instance
    • Method Detail

      • getId

        String getId()
        Get the question id
      • getProcessInstance

        ProcessInstance getProcessInstance()
        Get the process instance where the question was asked
      • getFromState

        State getFromState()
        Get the state where the question was asked
      • getTargetState

        State getTargetState()
        Get the destination state for the question
      • getQuestionText

        String getQuestionText()
        Get the question content
      • getResponseText

        String getResponseText()
        Get the response content
      • answer

        void answer​(String responseText)
        Answer this question
      • getQuestionDate

        Date getQuestionDate()
        Get the date when question was asked
      • getResponseDate

        Date getResponseDate()
        Get the date when question was asked
      • hasResponse

        boolean hasResponse()
        Is a response was sent to this question
      • isRelevant

        boolean isRelevant()
        Has this question been answered and taken in account, if yes, so it's not relevant anymore (return false)