|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ParameterScope>
com.flexive.shared.configuration.ParameterScope
public enum ParameterScope
Parameter scopes
| Enum Constant Summary | |
|---|---|
APPLICATION
Application parameter scope (with division configuration fallback). |
|
APPLICATION_ONLY
Application parameter scope (without division configuration fallback). |
|
DIVISION
Division parameter (with global configuration fallback) |
|
DIVISION_ONLY
Division parameter (without global configuration fallback) |
|
GLOBAL
Global parameter |
|
MANDATOR
Mandator parameter scope (with division configuration fallback). |
|
MANDATOR_ONLY
Mandator parameter scope (without fallback). |
|
NODE
Node parameter (with division configuration fallback). |
|
NODE_ONLY
Node parameter (without fallback). |
|
USER
User parameter (with application configuration fallback) |
|
USER_ONLY
User parameter (without fallback values) |
|
| Method Summary | |
|---|---|
java.util.List<ParameterScope> |
getFallbacks()
Return the fallback scopes for this scope config. |
boolean |
hasScope(ParameterScope scope)
Returns true if the scope represents - directly or through its fallbacks - the given scope. |
static ParameterScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ParameterScope[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ParameterScope GLOBAL
public static final ParameterScope DIVISION
public static final ParameterScope DIVISION_ONLY
public static final ParameterScope NODE
flexive.nodename and defaults to the system hostname as returned by
InetAddress.getLocalHost().getHostName().
public static final ParameterScope NODE_ONLY
public static final ParameterScope APPLICATION
GlobalConfigurationEngine.
public static final ParameterScope APPLICATION_ONLY
public static final ParameterScope MANDATOR
public static final ParameterScope MANDATOR_ONLY
public static final ParameterScope USER
public static final ParameterScope USER_ONLY
| Method Detail |
|---|
public static ParameterScope[] values()
for (ParameterScope c : ParameterScope.values()) System.out.println(c);
public static ParameterScope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.util.List<ParameterScope> getFallbacks()
public boolean hasScope(ParameterScope scope)
scope - the scope to be checked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||