Enum DialogTerminationPrimitive
- java.lang.Object
-
- java.lang.Enum<DialogTerminationPrimitive>
-
- com.opencloud.slee.resources.sis.script.in.scs.DialogTerminationPrimitive
-
- All Implemented Interfaces:
Serializable
,Comparable<DialogTerminationPrimitive>
public enum DialogTerminationPrimitive extends Enum<DialogTerminationPrimitive>
Enumeration of TCAP dialog primitives that terminate a dialog.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
No dialog termination will occur.TC_END
A TC-END (Close) with basic end.TC_U_ABORT
A TC-U-ABORT (User Abort).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DialogTerminationPrimitive
valueOf(String name)
Returns the enum constant of this type with the specified name.static DialogTerminationPrimitive[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DialogTerminationPrimitive NONE
No dialog termination will occur.
-
TC_END
public static final DialogTerminationPrimitive TC_END
A TC-END (Close) with basic end.
-
TC_U_ABORT
public static final DialogTerminationPrimitive TC_U_ABORT
A TC-U-ABORT (User Abort).
-
-
Method Detail
-
values
public static DialogTerminationPrimitive[] 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 (DialogTerminationPrimitive c : DialogTerminationPrimitive.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DialogTerminationPrimitive valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-