corda / net.corda.core.cordapp / CordappConfig

CordappConfig

@DoNotImplement interface CordappConfig

Provides access to cordapp configuration independent of the configuration provider.

Functions

exists

abstract fun exists(path: String): Boolean

Check if a config exists at path

get

abstract fun get(path: String): Any

Get the value of the configuration at "path".

getBoolean

abstract fun getBoolean(path: String): Boolean

Get the boolean value of the configuration at "path".

getDouble

abstract fun getDouble(path: String): Double

Get the double value of the configuration at "path".

getFloat

abstract fun getFloat(path: String): Float

Get the float value of the configuration at "path".

getInt

abstract fun getInt(path: String): Int

Get the int value of the configuration at "path".

getLong

abstract fun getLong(path: String): Long

Get the long value of the configuration at "path".

getNumber

abstract fun getNumber(path: String): Number

Get the number value of the configuration at "path".

getString

abstract fun getString(path: String): String

Get the string value of the configuration at "path".

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.