Interface AgentAvailabilityChangedEvent
-
- All Superinterfaces:
Event
,UserProvider
public interface AgentAvailabilityChangedEvent extends Event, UserProvider
AnAgentAvailabilityChangedEvent
is an event triggered due to an agent availability change.- Since:
- 11.29
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentAvailability
getAgentAvailability()
java.util.Optional<AgentGroup>
getAgentGroup()
If 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 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 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
-
-