public enum SystemPropertyMode extends Enum<SystemPropertyMode>
SpringJolokiaAgent.| Enum Constant and Description |
|---|
MODE_FALLBACK
Check system properties if not resolvable in the specified properties.
|
MODE_NEVER
Never check system properties.
|
MODE_OVERRIDE
Check system properties first, before trying the specified properties.
|
| Modifier and Type | Method and Description |
|---|---|
static SystemPropertyMode |
fromMode(String pMode)
Get the enum for a given mode string, which is treated case insensitively.
|
static SystemPropertyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemPropertyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemPropertyMode MODE_NEVER
public static final SystemPropertyMode MODE_FALLBACK
public static final SystemPropertyMode MODE_OVERRIDE
public static SystemPropertyMode[] values()
for (SystemPropertyMode c : SystemPropertyMode.values()) System.out.println(c);
public static SystemPropertyMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static SystemPropertyMode fromMode(String pMode)
pMode - mode to lookupCopyright © 2014. All Rights Reserved.