public class CrossChannelBehavior
extends java.lang.Object
implements java.io.Serializable
Defines the cross-channel routing behavior that allows an agent working on a contact in one channel to be offered a contact from a different channel.
| Constructor and Description |
|---|
CrossChannelBehavior() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBehaviorType()
Specifies the other channels that can be routed to an agent handling
their current channel.
|
int |
hashCode() |
void |
setBehaviorType(BehaviorType behaviorType)
Specifies the other channels that can be routed to an agent handling
their current channel.
|
void |
setBehaviorType(java.lang.String behaviorType)
Specifies the other channels that can be routed to an agent handling
their current channel.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CrossChannelBehavior |
withBehaviorType(BehaviorType behaviorType)
Specifies the other channels that can be routed to an agent handling
their current channel.
|
CrossChannelBehavior |
withBehaviorType(java.lang.String behaviorType)
Specifies the other channels that can be routed to an agent handling
their current channel.
|
public java.lang.String getBehaviorType()
Specifies the other channels that can be routed to an agent handling their current channel.
Constraints:
Allowed Values: ROUTE_CURRENT_CHANNEL_ONLY, ROUTE_ANY_CHANNEL
Specifies the other channels that can be routed to an agent handling their current channel.
BehaviorTypepublic void setBehaviorType(java.lang.String behaviorType)
Specifies the other channels that can be routed to an agent handling their current channel.
Constraints:
Allowed Values: ROUTE_CURRENT_CHANNEL_ONLY, ROUTE_ANY_CHANNEL
behaviorType - Specifies the other channels that can be routed to an agent handling their current channel.
BehaviorTypepublic CrossChannelBehavior withBehaviorType(java.lang.String behaviorType)
Specifies the other channels that can be routed to an agent handling their current channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ROUTE_CURRENT_CHANNEL_ONLY, ROUTE_ANY_CHANNEL
behaviorType - Specifies the other channels that can be routed to an agent handling their current channel.
BehaviorTypepublic void setBehaviorType(BehaviorType behaviorType)
Specifies the other channels that can be routed to an agent handling their current channel.
Constraints:
Allowed Values: ROUTE_CURRENT_CHANNEL_ONLY, ROUTE_ANY_CHANNEL
behaviorType - Specifies the other channels that can be routed to an agent handling their current channel.
BehaviorTypepublic CrossChannelBehavior withBehaviorType(BehaviorType behaviorType)
Specifies the other channels that can be routed to an agent handling their current channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ROUTE_CURRENT_CHANNEL_ONLY, ROUTE_ANY_CHANNEL
behaviorType - Specifies the other channels that can be routed to an agent handling their current channel.
BehaviorTypepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object