@DoNotImplement interface CordappConfig
Provides access to cordapp configuration independent of the configuration provider.
abstract fun exists(path: String): Boolean
Check if a config exists at path |
|
abstract fun get(path: String): Any
Get the value of the configuration at "path". |
|
abstract fun getBoolean(path: String): Boolean
Get the boolean value of the configuration at "path". |
|
abstract fun getDouble(path: String): Double
Get the double value of the configuration at "path". |
|
abstract fun getFloat(path: String): Float
Get the float value of the configuration at "path". |
|
abstract fun getInt(path: String): Int
Get the int value of the configuration at "path". |
|
abstract fun getLong(path: String): Long
Get the long value of the configuration at "path". |
|
abstract fun getNumber(path: String): Number
Get the number value of the configuration at "path". |
|
abstract fun getString(path: String): String
Get the string value of the configuration at "path". |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |