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
getEventDate
Methods 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 specificAgentGroup
then an optional with the affectedAgentGroup
is returned.- Returns:
- the optional
AgentGroup
for which theAgentAvailability
has been changed or else an empty optional if theAgentAvailability
has been changed globally. - Since:
- 12.10
-