public enum DefaultProperties extends java.lang.Enum<DefaultProperties> implements PropertyHolder
PropertyHolder with attribute names that should be retrieved:
1) internal - from the environment (OS, JVM)
2) external - from `*.properties` file| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.String[] |
getPropertyKeys() |
boolean |
isInternal() |
static DefaultProperties |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultProperties[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultProperties OS
public static final DefaultProperties JVM
public static final DefaultProperties AGENT
public static DefaultProperties[] values()
for (DefaultProperties c : DefaultProperties.values()) System.out.println(c);
public static DefaultProperties 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 namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
getName in interface PropertyHolderpublic boolean isInternal()
isInternal in interface PropertyHolderpublic java.lang.String[] getPropertyKeys()
getPropertyKeys in interface PropertyHolder