Enum Class InterfaceOperStatus
java.lang.Object
java.lang.Enum<InterfaceOperStatus>
org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus
- All Implemented Interfaces:
Serializable,Comparable<InterfaceOperStatus>,Constable,UaDataType,UaEnumeratedType
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWaiting for some external event.The interface does not pass any packets.Down due to state of lower-layer interface(s).Some component (typically hardware) is missing.In some test mode.Status cannot be determined for some reason.Ready to pass packets. -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumDefinitionstatic @Nullable InterfaceOperStatusfrom(int value) Get theExpandedNodeIdidentifying this DataType.intgetValue()Get the numeric value associated with this enumerated value.static InterfaceOperStatusReturns the enum constant of this class with the specified name.static InterfaceOperStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.eclipse.milo.opcua.stack.core.types.UaDataType
getTypeNameMethods inherited from interface org.eclipse.milo.opcua.stack.core.types.UaEnumeratedType
getName
-
Enum Constant Details
-
Up
Ready to pass packets. -
Down
The interface does not pass any packets. -
Testing
In some test mode. No operational packets can be passed. -
Unknown
Status cannot be determined for some reason. -
Dormant
Waiting for some external event. -
NotPresent
Some component (typically hardware) is missing. -
LowerLayerDown
Down due to state of lower-layer interface(s).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()Description copied from interface:UaEnumeratedTypeGet the numeric value associated with this enumerated value.- Specified by:
getValuein interfaceUaEnumeratedType- Returns:
- the numeric value associated with this enumerated value.
-
getTypeId
Description copied from interface:UaDataTypeGet theExpandedNodeIdidentifying this DataType.- Specified by:
getTypeIdin interfaceUaDataType- Returns:
- the
ExpandedNodeIdidentifying this DataType.
-
from
-
definition
-