Enum CallFinishedEvent.FinishCause
- java.lang.Object
-
- java.lang.Enum<CallFinishedEvent.FinishCause>
-
- com.novomind.ecom.api.iagent.routing.event.call.CallFinishedEvent.FinishCause
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CallFinishedEvent.FinishCause>
- Enclosing interface:
- CallFinishedEvent
public static enum CallFinishedEvent.FinishCause extends java.lang.Enum<CallFinishedEvent.FinishCause>
Represents all types of finish causes for calls.- Since:
- 11.27
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUSY
The call has been finished because the call could not be connected within a specified time period, because no suitable agent had been available or an agent has declined the call during delivery.FAILED
The call has been finished due to an unexpected error e.g.NOANSWER
The call has been finished due to a timeout while delivering the call, because the target device did not answer within a specified time period.NORMAL_CLEARING
The call has been finished normally due to hang up operation.REDIRECTED
The call has been finished and redirected to another device.TRANSFER
The call has been finished due to a manual transfer from an agent device to another device.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CallFinishedEvent.FinishCause
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CallFinishedEvent.FinishCause[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL_CLEARING
public static final CallFinishedEvent.FinishCause NORMAL_CLEARING
The call has been finished normally due to hang up operation.- Since:
- 11.27
-
BUSY
public static final CallFinishedEvent.FinishCause BUSY
The call has been finished because the call could not be connected within a specified time period, because no suitable agent had been available or an agent has declined the call during delivery.- Since:
- 11.27
-
REDIRECTED
public static final CallFinishedEvent.FinishCause REDIRECTED
The call has been finished and redirected to another device. The call has not been connected to an agent device previously.- Since:
- 11.27
-
TRANSFER
public static final CallFinishedEvent.FinishCause TRANSFER
The call has been finished due to a manual transfer from an agent device to another device.- Since:
- 11.27
-
FAILED
public static final CallFinishedEvent.FinishCause FAILED
The call has been finished due to an unexpected error e.g. a lack of resources.- Since:
- 11.27
-
NOANSWER
public static final CallFinishedEvent.FinishCause NOANSWER
The call has been finished due to a timeout while delivering the call, because the target device did not answer within a specified time period.- Since:
- 12.37
-
-
Method Detail
-
values
public static CallFinishedEvent.FinishCause[] 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 (CallFinishedEvent.FinishCause c : CallFinishedEvent.FinishCause.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CallFinishedEvent.FinishCause 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
-
-