Enum CbusBootloaderPane.BootStatus
- java.lang.Object
-
- java.lang.Enum<CbusBootloaderPane.BootStatus>
-
- jmri.jmrix.can.cbus.swing.bootloader.CbusBootloaderPane.BootStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CbusBootloaderPane.BootStatus>
- Enclosing class:
- CbusBootloaderPane
protected static enum CbusBootloaderPane.BootStatus extends java.lang.Enum<CbusBootloaderPane.BootStatus>
Bootloader status values
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACK_TIMEOUT
ADDRESS_NOT_FOUND
ADDRESS_OUT_OF_RANGE
BOOT_TIMEOUT
CHECKSUM_FAILED
CHECKSUM_TIMEOUT
COMPLETE
DATA_ERROR
DATA_OUT_OF_RANGE
INIT_OUT_OF_RANGE
NONE
PARAMETER_TIMEOUT
PROTOCOL_ERROR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CbusBootloaderPane.BootStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CbusBootloaderPane.BootStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final CbusBootloaderPane.BootStatus NONE
-
PARAMETER_TIMEOUT
public static final CbusBootloaderPane.BootStatus PARAMETER_TIMEOUT
-
INIT_OUT_OF_RANGE
public static final CbusBootloaderPane.BootStatus INIT_OUT_OF_RANGE
-
DATA_ERROR
public static final CbusBootloaderPane.BootStatus DATA_ERROR
-
DATA_OUT_OF_RANGE
public static final CbusBootloaderPane.BootStatus DATA_OUT_OF_RANGE
-
ADDRESS_OUT_OF_RANGE
public static final CbusBootloaderPane.BootStatus ADDRESS_OUT_OF_RANGE
-
CHECKSUM_FAILED
public static final CbusBootloaderPane.BootStatus CHECKSUM_FAILED
-
ADDRESS_NOT_FOUND
public static final CbusBootloaderPane.BootStatus ADDRESS_NOT_FOUND
-
COMPLETE
public static final CbusBootloaderPane.BootStatus COMPLETE
-
BOOT_TIMEOUT
public static final CbusBootloaderPane.BootStatus BOOT_TIMEOUT
-
ACK_TIMEOUT
public static final CbusBootloaderPane.BootStatus ACK_TIMEOUT
-
CHECKSUM_TIMEOUT
public static final CbusBootloaderPane.BootStatus CHECKSUM_TIMEOUT
-
PROTOCOL_ERROR
public static final CbusBootloaderPane.BootStatus PROTOCOL_ERROR
-
-
Method Detail
-
values
public static CbusBootloaderPane.BootStatus[] 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 (CbusBootloaderPane.BootStatus c : CbusBootloaderPane.BootStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CbusBootloaderPane.BootStatus 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
-
-