Enum QueuedCallDeliveryFailedEvent.FailCause
- java.lang.Object
-
- java.lang.Enum<QueuedCallDeliveryFailedEvent.FailCause>
-
- com.novomind.ecom.api.iagent.routing.event.call.QueuedCallDeliveryFailedEvent.FailCause
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<QueuedCallDeliveryFailedEvent.FailCause>
- Enclosing interface:
- QueuedCallDeliveryFailedEvent
public static enum QueuedCallDeliveryFailedEvent.FailCause extends java.lang.Enum<QueuedCallDeliveryFailedEvent.FailCause>
Represents all types of fail causes for calls failing to connect to an agent device.- Since:
- 11.27
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUSY
The call could not be connected, because the target device is busy or the target has declined the call.FAILED
The call could not be connected, because the target device is no longer available or an error has occurred during call establishment.NOANSWER
The call could not be connected, because the target device did not answer within a specified time period.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueuedCallDeliveryFailedEvent.FailCause
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static QueuedCallDeliveryFailedEvent.FailCause[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUSY
public static final QueuedCallDeliveryFailedEvent.FailCause BUSY
The call could not be connected, because the target device is busy or the target has declined the call.- Since:
- 11.27
-
FAILED
public static final QueuedCallDeliveryFailedEvent.FailCause FAILED
The call could not be connected, because the target device is no longer available or an error has occurred during call establishment.- Since:
- 11.27
-
NOANSWER
public static final QueuedCallDeliveryFailedEvent.FailCause NOANSWER
The call could not be connected, because the target device did not answer within a specified time period.- Since:
- 11.27
-
-
Method Detail
-
values
public static QueuedCallDeliveryFailedEvent.FailCause[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (QueuedCallDeliveryFailedEvent.FailCause c : QueuedCallDeliveryFailedEvent.FailCause.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueuedCallDeliveryFailedEvent.FailCause valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-