public CordappConfig
Provides access to cordapp configuration independent of the configuration provider.
Modifier and Type | Method and Description |
---|---|
boolean |
exists(java.lang.String path)
Check if a config exists at path
|
java.lang.Object |
get(java.lang.String path)
Get the value of the configuration at "path".
|
boolean |
getBoolean(java.lang.String path)
Get the boolean value of the configuration at "path".
|
double |
getDouble(java.lang.String path)
Get the double value of the configuration at "path".
|
float |
getFloat(java.lang.String path)
Get the float value of the configuration at "path".
|
int |
getInt(java.lang.String path)
Get the int value of the configuration at "path".
|
long |
getLong(java.lang.String path)
Get the long value of the configuration at "path".
|
java.lang.Number |
getNumber(java.lang.String path)
Get the number value of the configuration at "path".
|
java.lang.String |
getString(java.lang.String path)
Get the string value of the configuration at "path".
|
boolean exists(java.lang.String path)
Check if a config exists at path
java.lang.Object get(java.lang.String path)
Get the value of the configuration at "path".
int getInt(java.lang.String path)
Get the int value of the configuration at "path".
long getLong(java.lang.String path)
Get the long value of the configuration at "path".
float getFloat(java.lang.String path)
Get the float value of the configuration at "path".
double getDouble(java.lang.String path)
Get the double value of the configuration at "path".
java.lang.Number getNumber(java.lang.String path)
Get the number value of the configuration at "path".
java.lang.String getString(java.lang.String path)
Get the string value of the configuration at "path".
boolean getBoolean(java.lang.String path)
Get the boolean value of the configuration at "path".