Enum CallFinishedEvent.FinishOrigin
- java.lang.Object
-
- java.lang.Enum<CallFinishedEvent.FinishOrigin>
-
- com.novomind.ecom.api.iagent.routing.event.call.CallFinishedEvent.FinishOrigin
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CallFinishedEvent.FinishOrigin>
- Enclosing interface:
- CallFinishedEvent
public static enum CallFinishedEvent.FinishOrigin extends java.lang.Enum<CallFinishedEvent.FinishOrigin>
Represents the origin that finished the call.- Since:
- 12.27
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CallFinishedEvent.FinishOrigin
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CallFinishedEvent.FinishOrigin[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final CallFinishedEvent.FinishOrigin UNKNOWN
The finish origin is unknown.- Since:
- 12.27
-
SOURCE
public static final CallFinishedEvent.FinishOrigin SOURCE
The call has been finished by the source party.- Since:
- 12.27
-
TARGET
public static final CallFinishedEvent.FinishOrigin TARGET
The call has been finished by the target party.- Since:
- 12.27
-
SYSTEM
public static final CallFinishedEvent.FinishOrigin SYSTEM
The call has been finished by the phone system.- Since:
- 12.27
-
-
Method Detail
-
values
public static CallFinishedEvent.FinishOrigin[] 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.FinishOrigin c : CallFinishedEvent.FinishOrigin.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.FinishOrigin 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
-
-