Package com.opencloud.sentinel.feature
Enum ExecutionPhase
- java.lang.Object
-
- java.lang.Enum<ExecutionPhase>
-
- com.opencloud.sentinel.feature.ExecutionPhase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ExecutionPhase>
public enum ExecutionPhase extends java.lang.Enum<ExecutionPhase>
Phases of processing a session in the sentinel.Sentinel-SIP Service has a single phase
SipSessionSentinel-SS7 Service Phases:
SessionStartSS7InitialTriggerNonSS7SessionStartNonSS7InitialTriggerMidSessionEndSession
Sentinel-Diameter Service Phases:
SessionStartInitialTriggerEndSession
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EndSessionInitialTriggerMidSessionNonSS7InitialTriggerNonSS7SessionStartSessionStartSipSessionSS7InitialTrigger
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEndSessionPhasestatic java.lang.StringInitialTriggerPhasestatic java.lang.StringMidSessionPhasestatic java.lang.StringNonSS7InitialTriggerPhasestatic java.lang.StringNonSS7SessionStartPhasestatic java.lang.StringSessionStartPhasestatic java.lang.StringSipSessionPhasestatic java.lang.StringSS7InitialTriggerPhase
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutionPhasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ExecutionPhase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
InitialTrigger
public static final ExecutionPhase InitialTrigger
-
SipSession
public static final ExecutionPhase SipSession
-
SS7InitialTrigger
public static final ExecutionPhase SS7InitialTrigger
-
NonSS7SessionStart
public static final ExecutionPhase NonSS7SessionStart
-
NonSS7InitialTrigger
public static final ExecutionPhase NonSS7InitialTrigger
-
MidSession
public static final ExecutionPhase MidSession
-
SessionStart
public static final ExecutionPhase SessionStart
-
EndSession
public static final ExecutionPhase EndSession
-
-
Field Detail
-
InitialTriggerPhase
public static final java.lang.String InitialTriggerPhase
- See Also:
- Constant Field Values
-
SipSessionPhase
public static final java.lang.String SipSessionPhase
- See Also:
- Constant Field Values
-
SS7InitialTriggerPhase
public static final java.lang.String SS7InitialTriggerPhase
- See Also:
- Constant Field Values
-
NonSS7SessionStartPhase
public static final java.lang.String NonSS7SessionStartPhase
- See Also:
- Constant Field Values
-
NonSS7InitialTriggerPhase
public static final java.lang.String NonSS7InitialTriggerPhase
- See Also:
- Constant Field Values
-
MidSessionPhase
public static final java.lang.String MidSessionPhase
- See Also:
- Constant Field Values
-
SessionStartPhase
public static final java.lang.String SessionStartPhase
- See Also:
- Constant Field Values
-
EndSessionPhase
public static final java.lang.String EndSessionPhase
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ExecutionPhase[] 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 (ExecutionPhase c : ExecutionPhase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionPhase 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
-
-