Class AgentInCampaignsOperationRequestEvent

All Implemented Interfaces:
Serializable

public class AgentInCampaignsOperationRequestEvent extends AgentEvent
Notifies an IAgent.AgentInCampaignsOperation has started. If SetAgentUnavailable is true, the operations in all AgentInCampaigns will be disabled until AgentInCampaignsOperationEndedEvent> is received.
See Also:
  • Constructor Details

    • AgentInCampaignsOperationRequestEvent

      public AgentInCampaignsOperationRequestEvent()
  • Method Details

    • getId

      public int getId()
      Identifier of the operation that has been returned by IAgent.AgentInCampaignsOperation.
    • setId

      public void setId(int value)
      Identifier of the operation that has been returned by IAgent.AgentInCampaignsOperation.
    • getCampaignNames

      public String[] getCampaignNames()
      Names of the campaigns where the operation will be executed.
    • setCampaignNames

      public void setCampaignNames(String[] value)
      Names of the campaigns where the operation will be executed.
    • getOperation

      public AgentInCampaignOperation getOperation()
      Requested operation.
    • setOperation

      public void setOperation(AgentInCampaignOperation value)
      Requested operation.
    • getSetAgentUnavailable

      public boolean getSetAgentUnavailable()
      If true the agent will be unavailable to receive interactions while the state of the agent in the campaigns is being updated to "ready" or "not ready", in order to guarantee interactions with higher priority are delivered first.
    • setSetAgentUnavailable

      public void setSetAgentUnavailable(boolean value)
      If true the agent will be unavailable to receive interactions while the state of the agent in the campaigns is being updated to "ready" or "not ready", in order to guarantee interactions with higher priority are delivered first.
    • getNotReadyReason

      public String getNotReadyReason()
      Not ready reason used when the state of the agent is updated to "not ready".
    • setNotReadyReason

      public void setNotReadyReason(String value)
      Not ready reason used when the state of the agent is updated to "not ready".