Package io.ultreia.java4all.config
Enum ApplicationConfigScope
- java.lang.Object
-
- java.lang.Enum<ApplicationConfigScope>
-
- io.ultreia.java4all.config.ApplicationConfigScope
-
- All Implemented Interfaces:
Serializable,Comparable<ApplicationConfigScope>
public enum ApplicationConfigScope extends Enum<ApplicationConfigScope>
Définit le scope d'un lecture/écriture d'une option dans application config. Created by tchemit on 30/09/16.- Since:
- 3.0
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApplicationConfigScopevalueOf(String name)Returns the enum constant of this type with the specified name.static ApplicationConfigScope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULTS
public static final ApplicationConfigScope DEFAULTS
-
CLASS_PATH
public static final ApplicationConfigScope CLASS_PATH
-
SYSTEM
public static final ApplicationConfigScope SYSTEM
-
HOME
public static final ApplicationConfigScope HOME
-
CURRENT
public static final ApplicationConfigScope CURRENT
-
ENV
public static final ApplicationConfigScope ENV
-
JVM
public static final ApplicationConfigScope JVM
-
LINE
public static final ApplicationConfigScope LINE
-
OPTIONS
public static final ApplicationConfigScope OPTIONS
-
-
Method Detail
-
values
public static ApplicationConfigScope[] 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 (ApplicationConfigScope c : ApplicationConfigScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplicationConfigScope 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
-
-