Package jmri.jmrix.sprog.update
Enum SprogUpdateFrame.BootState
- java.lang.Object
-
- java.lang.Enum<SprogUpdateFrame.BootState>
-
- jmri.jmrix.sprog.update.SprogUpdateFrame.BootState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SprogUpdateFrame.BootState>
- Enclosing class:
- SprogUpdateFrame
protected static enum SprogUpdateFrame.BootState extends java.lang.Enum<SprogUpdateFrame.BootState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CRSENT
EOFSENT
ERASESENT
IDLE
NULLWRITE
QUERYSENT
RESETSENT
SETBOOTSENT
SPROGMODESENT
V4RESET
VERREQSENT
WRITESENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SprogUpdateFrame.BootState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SprogUpdateFrame.BootState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final SprogUpdateFrame.BootState IDLE
-
CRSENT
public static final SprogUpdateFrame.BootState CRSENT
-
QUERYSENT
public static final SprogUpdateFrame.BootState QUERYSENT
-
SETBOOTSENT
public static final SprogUpdateFrame.BootState SETBOOTSENT
-
VERREQSENT
public static final SprogUpdateFrame.BootState VERREQSENT
-
WRITESENT
public static final SprogUpdateFrame.BootState WRITESENT
-
NULLWRITE
public static final SprogUpdateFrame.BootState NULLWRITE
-
ERASESENT
public static final SprogUpdateFrame.BootState ERASESENT
-
SPROGMODESENT
public static final SprogUpdateFrame.BootState SPROGMODESENT
-
RESETSENT
public static final SprogUpdateFrame.BootState RESETSENT
-
EOFSENT
public static final SprogUpdateFrame.BootState EOFSENT
-
V4RESET
public static final SprogUpdateFrame.BootState V4RESET
-
-
Method Detail
-
values
public static SprogUpdateFrame.BootState[] 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 (SprogUpdateFrame.BootState c : SprogUpdateFrame.BootState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SprogUpdateFrame.BootState 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
-
-