Enum TsnStreamState
- java.lang.Object
-
- java.lang.Enum<TsnStreamState>
-
- org.apache.plc4x.java.opcua.readwrite.TsnStreamState
-
- All Implemented Interfaces:
Serializable,Comparable<TsnStreamState>
public enum TsnStreamState extends Enum<TsnStreamState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description tsnStreamStateConfiguringtsnStreamStateDisabledtsnStreamStateErrortsnStreamStateOperationaltsnStreamStateReady
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TsnStreamStateenumForValue(long value)longgetValue()static BooleanisDefined(long value)static TsnStreamStatevalueOf(String name)Returns the enum constant of this type with the specified name.static TsnStreamState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
tsnStreamStateDisabled
public static final TsnStreamState tsnStreamStateDisabled
-
tsnStreamStateConfiguring
public static final TsnStreamState tsnStreamStateConfiguring
-
tsnStreamStateReady
public static final TsnStreamState tsnStreamStateReady
-
tsnStreamStateOperational
public static final TsnStreamState tsnStreamStateOperational
-
tsnStreamStateError
public static final TsnStreamState tsnStreamStateError
-
-
Method Detail
-
values
public static TsnStreamState[] 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 (TsnStreamState c : TsnStreamState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TsnStreamState valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public long getValue()
-
enumForValue
public static TsnStreamState enumForValue(long value)
-
isDefined
public static Boolean isDefined(long value)
-
-