Enum State
- java.lang.Object
-
- java.lang.Enum<State>
-
- org.openmuc.jeebus.ship.state.machine.State
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<State>getAllowedTransitions()StateHandlergetHandler()static StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOSING_DEV_A
public static final State CLOSING_DEV_A
-
CLOSING_DEV_B
public static final State CLOSING_DEV_B
-
CONNECTION_DATA_EXCHANGE
public static final State CONNECTION_DATA_EXCHANGE
-
SME_PIN_STATE_OK
public static final State SME_PIN_STATE_OK
-
SME_PIN_STATE_INIT_LISTEN
public static final State SME_PIN_STATE_INIT_LISTEN
-
SME_PROT_H_STATE_CLIENT_OK
public static final State SME_PROT_H_STATE_CLIENT_OK
-
SME_PROT_H_STATE_SERVER_OK
public static final State SME_PROT_H_STATE_SERVER_OK
-
SME_PROT_H_STATE_TIMEOUT
public static final State SME_PROT_H_STATE_TIMEOUT
-
SME_PROT_H_STATE_SERVER_LISTEN_CONFIRM
public static final State SME_PROT_H_STATE_SERVER_LISTEN_CONFIRM
-
SME_PROT_H_STATE_CLIENT_LISTEN_CHOICE
public static final State SME_PROT_H_STATE_CLIENT_LISTEN_CHOICE
-
SME_PROT_H_STATE_SERVER_LISTEN_PROPOSAL
public static final State SME_PROT_H_STATE_SERVER_LISTEN_PROPOSAL
-
SME_PROT_H_SERVER_INIT
public static final State SME_PROT_H_SERVER_INIT
-
SME_PROT_H_CLIENT_INIT
public static final State SME_PROT_H_CLIENT_INIT
-
SME_HELLO_OK
public static final State SME_HELLO_OK
-
SME_HELLO_STATE_READY_TIMEOUT
public static final State SME_HELLO_STATE_READY_TIMEOUT
-
SME_HELLO_STATE_READY_LISTEN
public static final State SME_HELLO_STATE_READY_LISTEN
-
SME_HELLO_STATE_READY_INIT
public static final State SME_HELLO_STATE_READY_INIT
-
SME_HELLO_STATE_PENDING_TIMEOUT
public static final State SME_HELLO_STATE_PENDING_TIMEOUT
-
SME_HELLO_STATE_PENDING_LISTEN
public static final State SME_HELLO_STATE_PENDING_LISTEN
-
SME_HELLO_STATE_PENDING_INIT
public static final State SME_HELLO_STATE_PENDING_INIT
-
CONNECTION_DATA_PREPARATION
public static final State CONNECTION_DATA_PREPARATION
-
CMI_STATE_CLIENT_EVALUATE
public static final State CMI_STATE_CLIENT_EVALUATE
-
CMI_STATE_CLIENT_WAIT
public static final State CMI_STATE_CLIENT_WAIT
-
CMI_STATE_CLIENT_SEND
public static final State CMI_STATE_CLIENT_SEND
-
CMI_STATE_SERVER_EVALUATE
public static final State CMI_STATE_SERVER_EVALUATE
-
CMI_STATE_SERVER_WAIT
public static final State CMI_STATE_SERVER_WAIT
-
CMI_INIT_START
public static final State CMI_INIT_START
-
-
Method Detail
-
values
public static State[] 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 (State c : State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static State 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
-
getHandler
public StateHandler getHandler()
- Returns:
- the event handler for this state.
-
getAllowedTransitions
public java.util.Set<State> getAllowedTransitions()
- Returns:
- the set of states that this state might transition into.
-
-