Interface AgentAvailabilityChangedEvent
- All Superinterfaces:
Event,UserProvider
An
AgentAvailabilityChangedEvent is an event triggered
due to an agent availability change.- Since:
- 11.29
-
Method Summary
Modifier and TypeMethodDescriptionIf the agent's availability has been changed globally for the agent the method returns an empty optional.Methods inherited from interface com.novomind.ecom.api.iagent.common.event.Event
getEventDateMethods inherited from interface com.novomind.ecom.api.iagent.provider.UserProvider
getUser
-
Method Details
-
getAgentAvailability
AgentAvailability getAgentAvailability()- Returns:
- the new
AgentAvailability - Since:
- 11.29
-
getAgentGroup
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 specificAgentGroupthen an optional with the affectedAgentGroupis returned.- Returns:
- the optional
AgentGroupfor which theAgentAvailabilityhas been changed or else an empty optional if theAgentAvailabilityhas been changed globally. - Since:
- 12.10
-