Package jmri.jmrix.can.cbus.node
Enum CbusNodeConstants.BackupType
- java.lang.Object
-
- java.lang.Enum<CbusNodeConstants.BackupType>
-
- jmri.jmrix.can.cbus.node.CbusNodeConstants.BackupType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CbusNodeConstants.BackupType>
- Enclosing class:
- CbusNodeConstants
public static enum CbusNodeConstants.BackupType extends java.lang.Enum<CbusNodeConstants.BackupType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETE
COMPLETEDWITHERROR
INCOMPLETE
NOTONNETWORK
OUTSTANDING
SLIM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static CbusNodeConstants.BackupType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CbusNodeConstants.BackupType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCOMPLETE
public static final CbusNodeConstants.BackupType INCOMPLETE
-
COMPLETE
public static final CbusNodeConstants.BackupType COMPLETE
-
COMPLETEDWITHERROR
public static final CbusNodeConstants.BackupType COMPLETEDWITHERROR
-
NOTONNETWORK
public static final CbusNodeConstants.BackupType NOTONNETWORK
-
OUTSTANDING
public static final CbusNodeConstants.BackupType OUTSTANDING
-
SLIM
public static final CbusNodeConstants.BackupType SLIM
-
-
Method Detail
-
values
public static CbusNodeConstants.BackupType[] 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 (CbusNodeConstants.BackupType c : CbusNodeConstants.BackupType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CbusNodeConstants.BackupType 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
-
getValue
public int getValue()
-
-