corda / net.corda.core.cordapp / CordappConfig

CordappConfig

@DoNotImplement interface CordappConfig

Provides access to cordapp configuration independent of the configuration provider.

Functions

exists

Check if a config exists at path

abstract fun exists(path: String): Boolean

get

Get the value of the configuration at "path".

abstract fun get(path: String): Any

getBoolean

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

abstract fun getBoolean(path: String): Boolean

getDouble

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

abstract fun getDouble(path: String): Double

getFloat

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

abstract fun getFloat(path: String): Float

getInt

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

abstract fun getInt(path: String): Int

getLong

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

abstract fun getLong(path: String): Long

getNumber

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

abstract fun getNumber(path: String): Number

getString

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

abstract fun getString(path: String): String