public enum ReferenceType extends Enum<ReferenceType>
| EXTERNAL | Used with paths on the OS, such as /home/users/dsmith/my.properties |
| CLASSLOADED | Used with paths on the java classpath, such as /my.properties |
| DIRECT | Used with properties file formatted Strings, "mykey=val1\nkey2=val2" |
| COMMANDLINE_OVERRIDE | Used to indicate a single property we want to look for on the command line, such as "key1" |
| Enum Constant and Description |
|---|
CLASSLOADED |
COMMANDLINE_OVERRIDE |
DIRECT |
EXTERNAL |
| Modifier and Type | Method and Description |
|---|---|
static ReferenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferenceType EXTERNAL
public static final ReferenceType CLASSLOADED
public static final ReferenceType DIRECT
public static final ReferenceType COMMANDLINE_OVERRIDE
public static ReferenceType[] values()
for (ReferenceType c : ReferenceType.values()) System.out.println(c);
public static ReferenceType 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 nullCopyright © 2011–2016 David R. Smith. All rights reserved.