public static enum FSMBuilderException.ErrorCode extends Enum<FSMBuilderException.ErrorCode>
| Enum Constant and Description |
|---|
ILLEGAL_TRANSFORMATION_ON_TRANSITION
You can optionally specify a transformation with your transition but you can only do so
if the state you are transitioning to is a so-called transient state.
|
NO_FINAL_STATE
Every FSM must have its final state defined.
|
NO_INITIAL_STATE
Every FSM must have an initial state or we do not know where to start off with.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTemplate() |
static FSMBuilderException.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FSMBuilderException.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FSMBuilderException.ErrorCode NO_INITIAL_STATE
public static final FSMBuilderException.ErrorCode NO_FINAL_STATE
public static final FSMBuilderException.ErrorCode ILLEGAL_TRANSFORMATION_ON_TRANSITION
TransitionBuilder.withTransformation(Function)public static FSMBuilderException.ErrorCode[] values()
for (FSMBuilderException.ErrorCode c : FSMBuilderException.ErrorCode.values()) System.out.println(c);
public static FSMBuilderException.ErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getTemplate()
Copyright © 2019. All rights reserved.