Enum Constant and Description |
---|
API |
CONFIG |
DATABASE |
EMAIL |
REPORT |
TESTDATA |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(java.lang.String key) |
double |
getDouble(java.lang.String key) |
int |
getInt(java.lang.String key) |
long |
getLong(java.lang.String key) |
static java.lang.String |
getResourcePath(java.lang.String resource) |
static R |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static R[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final R API
public static final R CONFIG
public static final R TESTDATA
public static final R EMAIL
public static final R REPORT
public static final R DATABASE
public static R[] values()
for (R c : R.values()) System.out.println(c);
public static R 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 get(java.lang.String key)
public int getInt(java.lang.String key)
public long getLong(java.lang.String key)
public double getDouble(java.lang.String key)
public static java.lang.String getResourcePath(java.lang.String resource)