Enum Symbols
- java.lang.Object
-
- java.lang.Enum<Symbols>
-
- com.inductiveautomation.perspective.common.config.symbols.Symbols
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTRIFUGAL_PUMP
CYLINDRICAL_TANK
MOTOR
SENSOR
TWO_WAY_VALVE
VACUUM_PUMP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
java.lang.String
getSelector()
java.lang.String
getType()
java.lang.String
getVariant()
static java.util.Set<Symbols>
nonValveSymbols()
static Symbols
ofName(java.lang.String name)
static java.util.List<Symbols>
ofType(java.lang.String type)
static Symbols
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Symbols[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TWO_WAY_VALVE
public static final Symbols TWO_WAY_VALVE
-
CENTRIFUGAL_PUMP
public static final Symbols CENTRIFUGAL_PUMP
-
VACUUM_PUMP
public static final Symbols VACUUM_PUMP
-
MOTOR
public static final Symbols MOTOR
-
SENSOR
public static final Symbols SENSOR
-
CYLINDRICAL_TANK
public static final Symbols CYLINDRICAL_TANK
-
-
Method Detail
-
values
public static Symbols[] 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 (Symbols c : Symbols.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Symbols 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()
-
getSelector
public java.lang.String getSelector()
-
ofName
public static Symbols ofName(java.lang.String name)
-
getType
public java.lang.String getType()
-
getVariant
public java.lang.String getVariant()
-
ofType
public static java.util.List<Symbols> ofType(java.lang.String type)
-
nonValveSymbols
public static java.util.Set<Symbols> nonValveSymbols()
-
-