Enum EMachineStatesP3
- java.lang.Object
-
- java.lang.Enum<EMachineStatesP3>
-
- de.desy.mst.libs.framework.mstapp.util.machinestates.EMachineStatesP3
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EMachineStatesP3>
public enum EMachineStatesP3 extends java.lang.Enum<EMachineStatesP3>
Defines the machine states- Author:
- R.Bacher
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PETRA_BEREIT
PETRA_BETRIEB
PETRA_BETRIEB_EXPERIMENT
PETRA_BETRIEB_KONTROLLRAUM
PETRA_FEHLER
PETRA_KEINE_STRAHLFREIGABE
PETRA_NOBEAM
PETRA_STUDIEN
PETRA_UNBESTIMMT
PETRA_VORBEREITEN_BETRIEB
PETRA_WARTUNG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
int
stateAsNumber()
java.lang.String
stateAsText()
java.lang.String
stateAsTextEngl()
static EMachineStatesP3
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EMachineStatesP3[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PETRA_BETRIEB
public static final EMachineStatesP3 PETRA_BETRIEB
-
PETRA_BETRIEB_EXPERIMENT
public static final EMachineStatesP3 PETRA_BETRIEB_EXPERIMENT
-
PETRA_BETRIEB_KONTROLLRAUM
public static final EMachineStatesP3 PETRA_BETRIEB_KONTROLLRAUM
-
PETRA_VORBEREITEN_BETRIEB
public static final EMachineStatesP3 PETRA_VORBEREITEN_BETRIEB
-
PETRA_BEREIT
public static final EMachineStatesP3 PETRA_BEREIT
-
PETRA_WARTUNG
public static final EMachineStatesP3 PETRA_WARTUNG
-
PETRA_NOBEAM
public static final EMachineStatesP3 PETRA_NOBEAM
-
PETRA_FEHLER
public static final EMachineStatesP3 PETRA_FEHLER
-
PETRA_KEINE_STRAHLFREIGABE
public static final EMachineStatesP3 PETRA_KEINE_STRAHLFREIGABE
-
PETRA_STUDIEN
public static final EMachineStatesP3 PETRA_STUDIEN
-
PETRA_UNBESTIMMT
public static final EMachineStatesP3 PETRA_UNBESTIMMT
-
-
Method Detail
-
values
public static EMachineStatesP3[] 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 (EMachineStatesP3 c : EMachineStatesP3.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EMachineStatesP3 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
-
stateAsNumber
public int stateAsNumber()
-
stateAsText
public java.lang.String stateAsText()
-
stateAsTextEngl
public java.lang.String stateAsTextEngl()
-
main
public static void main(java.lang.String[] args)
-
-