Package jmri.jmrix.loconet
Enum LncvDevicesManager.ProgrammingResult
- java.lang.Object
-
- java.lang.Enum<LncvDevicesManager.ProgrammingResult>
-
- jmri.jmrix.loconet.LncvDevicesManager.ProgrammingResult
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LncvDevicesManager.ProgrammingResult>
- Enclosing class:
- LncvDevicesManager
public static enum LncvDevicesManager.ProgrammingResult extends java.lang.Enum<LncvDevicesManager.ProgrammingResult>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LncvDevicesManager.ProgrammingResult
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LncvDevicesManager.ProgrammingResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS_PROGRAMMER_OPENED
public static final LncvDevicesManager.ProgrammingResult SUCCESS_PROGRAMMER_OPENED
-
FAIL_NO_SUCH_DEVICE
public static final LncvDevicesManager.ProgrammingResult FAIL_NO_SUCH_DEVICE
-
FAIL_NO_APPROPRIATE_PROGRAMMER
public static final LncvDevicesManager.ProgrammingResult FAIL_NO_APPROPRIATE_PROGRAMMER
-
FAIL_NO_MATCHING_ROSTER_ENTRY
public static final LncvDevicesManager.ProgrammingResult FAIL_NO_MATCHING_ROSTER_ENTRY
-
FAIL_DESTINATION_ADDRESS_IS_ZERO
public static final LncvDevicesManager.ProgrammingResult FAIL_DESTINATION_ADDRESS_IS_ZERO
-
FAIL_MULTIPLE_DEVICES_SAME_DESTINATION_ADDRESS
public static final LncvDevicesManager.ProgrammingResult FAIL_MULTIPLE_DEVICES_SAME_DESTINATION_ADDRESS
-
FAIL_NO_ADDRESSED_PROGRAMMER
public static final LncvDevicesManager.ProgrammingResult FAIL_NO_ADDRESSED_PROGRAMMER
-
FAIL_NO_LNCV_PROGRAMMER
public static final LncvDevicesManager.ProgrammingResult FAIL_NO_LNCV_PROGRAMMER
-
-
Method Detail
-
values
public static LncvDevicesManager.ProgrammingResult[] 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 (LncvDevicesManager.ProgrammingResult c : LncvDevicesManager.ProgrammingResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LncvDevicesManager.ProgrammingResult 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
-
-