Enum MediationFlowState
- java.lang.Object
-
- java.lang.Enum<MediationFlowState>
-
- org.apache.synapse.debug.constructs.MediationFlowState
-
- All Implemented Interfaces:
Serializable
,Comparable<MediationFlowState>
public enum MediationFlowState extends Enum<MediationFlowState>
mediation flow state, to handle suspension of a mediation flow at given point life cycle starts from idle to multiple active and suspended at any order
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MediationFlowState
valueOf(String name)
Returns the enum constant of this type with the specified name.static MediationFlowState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final MediationFlowState IDLE
-
ACTIVE
public static final MediationFlowState ACTIVE
-
SUSPENDED
public static final MediationFlowState SUSPENDED
-
-
Method Detail
-
values
public static MediationFlowState[] 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 (MediationFlowState c : MediationFlowState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MediationFlowState 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
-
-