Package de.mhus.lib.core
Enum MApi.SCOPE
- java.lang.Object
-
- java.lang.Enum<MApi.SCOPE>
-
- de.mhus.lib.core.MApi.SCOPE
-
- All Implemented Interfaces:
Serializable,Comparable<MApi.SCOPE>
- Enclosing class:
- MApi
public static enum MApi.SCOPE extends Enum<MApi.SCOPE>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MApi.SCOPEvalueOf(String name)Returns the enum constant of this type with the specified name.static MApi.SCOPE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOG
public static final MApi.SCOPE LOG
-
TMP
public static final MApi.SCOPE TMP
-
ETC
public static final MApi.SCOPE ETC
-
DEPLOY
public static final MApi.SCOPE DEPLOY
-
DATA
public static final MApi.SCOPE DATA
-
-
Method Detail
-
values
public static MApi.SCOPE[] 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 (MApi.SCOPE c : MApi.SCOPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MApi.SCOPE 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
-
-