Package com.opencloud.sentinel.mediation
Enum SasEvent
- java.lang.Object
-
- java.lang.Enum<SasEvent>
-
- com.opencloud.sentinel.mediation.SasEvent
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OCS_CREDIT_ALLOCATEDOCS_CREDIT_ALLOCATION_FAILEDOCS_CREDIT_LIMIT_REACHEDOCS_CREDIT_NOT_REQUIREDSERVICE_FINISHEDSERVICE_TRIGGERED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intid()static SasEventvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SasEvent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE_TRIGGERED
public static final SasEvent SERVICE_TRIGGERED
-
SERVICE_FINISHED
public static final SasEvent SERVICE_FINISHED
-
OCS_CREDIT_ALLOCATED
public static final SasEvent OCS_CREDIT_ALLOCATED
-
OCS_CREDIT_ALLOCATION_FAILED
public static final SasEvent OCS_CREDIT_ALLOCATION_FAILED
-
OCS_CREDIT_NOT_REQUIRED
public static final SasEvent OCS_CREDIT_NOT_REQUIRED
-
OCS_CREDIT_LIMIT_REACHED
public static final SasEvent OCS_CREDIT_LIMIT_REACHED
-
-
Method Detail
-
values
public static SasEvent[] 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 (SasEvent c : SasEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SasEvent 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
-
id
public int id()
- Specified by:
idin interfacecom.opencloud.rhino.facilities.sas.SasEventEnum
-
-