Interface AgentAvailabilityChangedEvent

  • All Superinterfaces:
    Event, UserProvider

    public interface AgentAvailabilityChangedEvent
    extends Event, UserProvider
    An AgentAvailabilityChangedEvent is an event triggered due to an agent availability change.
    Since:
    11.29
    • Method Detail

      • getAgentAvailability

        AgentAvailability getAgentAvailability()
        Returns:
        the new AgentAvailability
        Since:
        11.29
      • getAgentGroup

        java.util.Optional<AgentGroup> getAgentGroup()
        If the agent's availability has been changed globally for the agent the method returns an empty optional. Otherwise if the agent's availability has been changed for the agent's membership in a specific AgentGroup then an optional with the affected AgentGroup is returned.
        Returns:
        the optional AgentGroup for which the AgentAvailability has been changed or else an empty optional if the AgentAvailability has been changed globally.
        Since:
        12.10