Class WorkflowEvent

All Implemented Interfaces:
Serializable

public class WorkflowEvent extends SessionEvent
Notifies an agent about the state of a workflow interaction.
See Also:
  • Constructor Details

    • WorkflowEvent

      public WorkflowEvent()
  • Method Details

    • getInteractionId

      public int getInteractionId()
      Identifier of the workflow interaction.
    • setInteractionId

      public void setInteractionId(int value)
      Identifier of the workflow interaction.
    • getEventType

      public WorkflowEventType getEventType()
      The type of the workflow event.
    • setEventType

      public void setEventType(WorkflowEventType value)
      The type of the workflow event.
    • getState

      public WorkflowInteractionState getState()
      Enumerated WorkflowInteractionState with the state of the workflow interaction.
    • setState

      public void setState(WorkflowInteractionState value)
      Enumerated WorkflowInteractionState with the state of the workflow interaction.
    • getIsSuspended

      public boolean getIsSuspended()
      If true, the interaction is suspended.
    • setIsSuspended

      public void setIsSuspended(boolean value)
      If true, the interaction is suspended.
    • getAllowedOperations

      public WorkflowMediaCanDo getAllowedOperations()
      Allowed operations.
    • setAllowedOperations

      public void setAllowedOperations(WorkflowMediaCanDo value)
      Allowed operations.
    • getClearedOnNoAnswer

      public boolean getClearedOnNoAnswer()
      If true, the interaction is cleared on no answer.
    • setClearedOnNoAnswer

      public void setClearedOnNoAnswer(boolean value)
      If true, the interaction is cleared on no answer.
    • toString

      public String toString()
      Converts the value of this event to a string representation.
      Overrides:
      toString in class AgentEvent
      Returns:
      The string representation of the event.