CordappConfig

Provides access to cordapp configuration independent of the configuration provider.

Functions

Link copied to clipboard
abstract fun exists(path: String): Boolean

Check if a config exists at path

Link copied to clipboard
abstract fun get(path: String): Any

Get the value of the configuration at "path".

Link copied to clipboard
abstract fun getBoolean(path: String): Boolean

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

Link copied to clipboard
abstract fun getDouble(path: String): Double

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

Link copied to clipboard
abstract fun getFloat(path: String): Float

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

Link copied to clipboard
abstract fun getInt(path: String): Int

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

Link copied to clipboard
abstract fun getLong(path: String): Long

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

Link copied to clipboard
abstract fun getNumber(path: String): Number

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

Link copied to clipboard
abstract fun getString(path: String): String

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