Enum SymbolStates
- java.lang.Object
-
- java.lang.Enum<SymbolStates>
-
- com.inductiveautomation.perspective.common.config.symbols.SymbolStates
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SymbolStates>
public enum SymbolStates extends java.lang.Enum<SymbolStates>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSED
DEFAULT
FAILED_TO_CLOSE
FAILED_TO_OPEN
FAULTED
OPEN
PARTIALLY_CLOSED
RUNNING
STOPPED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<Symbols>
getApplicableSymbols()
java.lang.String
getName()
boolean
isDerived()
static SymbolStates
ofName(java.lang.String name)
static SymbolStates
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SymbolStates[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final SymbolStates DEFAULT
-
RUNNING
public static final SymbolStates RUNNING
-
STOPPED
public static final SymbolStates STOPPED
-
FAULTED
public static final SymbolStates FAULTED
-
OPEN
public static final SymbolStates OPEN
-
FAILED_TO_OPEN
public static final SymbolStates FAILED_TO_OPEN
-
PARTIALLY_CLOSED
public static final SymbolStates PARTIALLY_CLOSED
-
CLOSED
public static final SymbolStates CLOSED
-
FAILED_TO_CLOSE
public static final SymbolStates FAILED_TO_CLOSE
-
-
Method Detail
-
values
public static SymbolStates[] 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 (SymbolStates c : SymbolStates.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SymbolStates 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
-
getName
public java.lang.String getName()
-
getApplicableSymbols
public java.util.Set<Symbols> getApplicableSymbols()
-
isDerived
public boolean isDerived()
-
ofName
public static SymbolStates ofName(java.lang.String name)
-
-