Package org.cip4.jdflib.jmf
Enum JDFDeviceInfo.eXjdfDeviceCondition
- java.lang.Object
-
- java.lang.Enum<JDFDeviceInfo.eXjdfDeviceCondition>
-
- org.cip4.jdflib.jmf.JDFDeviceInfo.eXjdfDeviceCondition
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JDFDeviceInfo.eXjdfDeviceCondition>
- Enclosing class:
- JDFDeviceInfo
public static enum JDFDeviceInfo.eXjdfDeviceCondition extends java.lang.Enum<JDFDeviceInfo.eXjdfDeviceCondition>
note the case of Offline vs. OffLine
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FailureNeedsAttentionOfflineOK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JDFDeviceInfo.eXjdfDeviceConditiongetEnum(java.lang.String name)static JDFDeviceInfo.eXjdfDeviceConditiongetEnum(JDFAutoDeviceInfo.EnumDeviceCondition condition)static JDFDeviceInfo.eXjdfDeviceConditionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JDFDeviceInfo.eXjdfDeviceCondition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final JDFDeviceInfo.eXjdfDeviceCondition OK
-
NeedsAttention
public static final JDFDeviceInfo.eXjdfDeviceCondition NeedsAttention
-
Failure
public static final JDFDeviceInfo.eXjdfDeviceCondition Failure
-
Offline
public static final JDFDeviceInfo.eXjdfDeviceCondition Offline
-
-
Method Detail
-
values
public static JDFDeviceInfo.eXjdfDeviceCondition[] 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 (JDFDeviceInfo.eXjdfDeviceCondition c : JDFDeviceInfo.eXjdfDeviceCondition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JDFDeviceInfo.eXjdfDeviceCondition 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
-
getEnum
public static JDFDeviceInfo.eXjdfDeviceCondition getEnum(java.lang.String name)
-
getEnum
public static JDFDeviceInfo.eXjdfDeviceCondition getEnum(JDFAutoDeviceInfo.EnumDeviceCondition condition)
-
-