Package com.ongres.scram.client
Enum MessageFlow.Stage
- java.lang.Object
-
- java.lang.Enum<MessageFlow.Stage>
-
- com.ongres.scram.client.MessageFlow.Stage
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MessageFlow.Stage>
- Enclosing interface:
- MessageFlow
public static enum MessageFlow.Stage extends java.lang.Enum<MessageFlow.Stage>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_FINAL
CLIENT_FIRST
NONE
SERVER_FINAL
SERVER_FIRST
-
Constructor Summary
Constructors Modifier Constructor Description private
Stage()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageFlow.Stage
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MessageFlow.Stage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final MessageFlow.Stage NONE
-
CLIENT_FIRST
public static final MessageFlow.Stage CLIENT_FIRST
-
SERVER_FIRST
public static final MessageFlow.Stage SERVER_FIRST
-
CLIENT_FINAL
public static final MessageFlow.Stage CLIENT_FINAL
-
SERVER_FINAL
public static final MessageFlow.Stage SERVER_FINAL
-
-
Method Detail
-
values
public static MessageFlow.Stage[] 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 (MessageFlow.Stage c : MessageFlow.Stage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageFlow.Stage 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
-
-