Enum CoreExecutionPhase
- java.lang.Object
-
- java.lang.Enum<CoreExecutionPhase>
-
- com.opencloud.sentinel.feature.spi.CoreExecutionPhase
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CoreExecutionPhase>
public enum CoreExecutionPhase extends java.lang.Enum<CoreExecutionPhase>
Generic execution phases used by core features. Concrete front-ends will map these phases to concrete phases in the front-end for the purposes of assembling feature lookup tables.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CoreEndSession
CoreHttpSessionStart
CoreMidSession
CoreSessionSetup
CoreSessionStart
CoreSessionTrigger
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CoreEndSessionPhase
static java.lang.String
CoreHttpSessionStartPhase
static java.lang.String
CoreMidSessionPhase
static java.lang.String
CoreSessionSetupPhase
static java.lang.String
CoreSessionStartPhase
static java.lang.String
CoreSessionTriggerPhase
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CoreExecutionPhase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CoreExecutionPhase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CoreSessionStart
public static final CoreExecutionPhase CoreSessionStart
-
CoreHttpSessionStart
public static final CoreExecutionPhase CoreHttpSessionStart
-
CoreSessionTrigger
public static final CoreExecutionPhase CoreSessionTrigger
-
CoreSessionSetup
public static final CoreExecutionPhase CoreSessionSetup
-
CoreMidSession
public static final CoreExecutionPhase CoreMidSession
-
CoreEndSession
public static final CoreExecutionPhase CoreEndSession
-
-
Field Detail
-
CoreSessionStartPhase
public static final java.lang.String CoreSessionStartPhase
- See Also:
- Constant Field Values
-
CoreHttpSessionStartPhase
public static final java.lang.String CoreHttpSessionStartPhase
- See Also:
- Constant Field Values
-
CoreSessionTriggerPhase
public static final java.lang.String CoreSessionTriggerPhase
- See Also:
- Constant Field Values
-
CoreSessionSetupPhase
public static final java.lang.String CoreSessionSetupPhase
- See Also:
- Constant Field Values
-
CoreMidSessionPhase
public static final java.lang.String CoreMidSessionPhase
- See Also:
- Constant Field Values
-
CoreEndSessionPhase
public static final java.lang.String CoreEndSessionPhase
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CoreExecutionPhase[] 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 (CoreExecutionPhase c : CoreExecutionPhase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoreExecutionPhase 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
-
-