Enum CustomSystemProperty
- java.lang.Object
-
- java.lang.Enum<CustomSystemProperty>
-
- de.desy.mst.libs.framework.mstapp.appinf.CustomSystemProperty
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CustomSystemProperty>
public enum CustomSystemProperty extends java.lang.Enum<CustomSystemProperty>
- Author:
- labudda Stellt sicher, dass die hier benutzten Properties ueberall identisch geschrieben werden. Die Methoden sind nur Kurzformen der bekannten System.getProperties API
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ApplicationKindFactory
Definiert die implementierende factory von aussen (zum Debug) definiert werden koennen.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
boolean
isAvailable()
static CustomSystemProperty
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CustomSystemProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ApplicationKindFactory
public static final CustomSystemProperty ApplicationKindFactory
Definiert die implementierende factory von aussen (zum Debug) definiert werden koennen. Ueberschreibt die Auswahl in Automatic. Die Factory soll auf isValid mit true antworten, wenn der Name der Factory definiert ist.
-
-
Method Detail
-
values
public static CustomSystemProperty[] 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 (CustomSystemProperty c : CustomSystemProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomSystemProperty 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
-
isAvailable
public boolean isAvailable()
-
getValue
public java.lang.String getValue()
-
-