Package com.opencloud.sentinel.common
Enum CallType
- java.lang.Object
-
- java.lang.Enum<CallType>
-
- com.opencloud.sentinel.common.CallType
-
- All Implemented Interfaces:
com.opencloud.rhino.facilities.sas.EnumParameter
,java.io.Serializable
,java.lang.Comparable<CallType>
public enum CallType extends java.lang.Enum<CallType> implements com.opencloud.rhino.facilities.sas.EnumParameter
Java enum to represent the CallType enum values. A SAS enum parameter. Encodes as static data. In SAS this is decoded in the event summary or detail with "{{ static_data[0] | enum: "CallType" }}" using the value attribute
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EmergencyCall
MobileForwarded
MobileOriginating
MobileTerminating
NetworkInitiated
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static CallType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CallType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MobileOriginating
public static final CallType MobileOriginating
-
MobileTerminating
public static final CallType MobileTerminating
-
MobileForwarded
public static final CallType MobileForwarded
-
NetworkInitiated
public static final CallType NetworkInitiated
-
EmergencyCall
public static final CallType EmergencyCall
-
-
Method Detail
-
values
public static CallType[] 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 (CallType c : CallType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CallType 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
-
value
public int value()
- Specified by:
value
in interfacecom.opencloud.rhino.facilities.sas.EnumParameter
-
-