@DoNotImplement public CordappConfig
Provides access to cordapp configuration independent of the configuration provider.
boolean exists(@NotNull java.lang.String path)
Check if a config exists at path
@NotNull java.lang.Object get(@NotNull java.lang.String path)
Get the value of the configuration at "path".
CordappConfigException
- If the configuration fails to load, parse, or find a value.int getInt(@NotNull java.lang.String path)
Get the int value of the configuration at "path".
CordappConfigException
- If the configuration fails to load, parse, or find a value.long getLong(@NotNull java.lang.String path)
Get the long value of the configuration at "path".
CordappConfigException
- If the configuration fails to load, parse, or find a value.float getFloat(@NotNull java.lang.String path)
Get the float value of the configuration at "path".
CordappConfigException
- If the configuration fails to load, parse, or find a value.double getDouble(@NotNull java.lang.String path)
Get the double value of the configuration at "path".
CordappConfigException
- If the configuration fails to load, parse, or find a value.@NotNull java.lang.Number getNumber(@NotNull java.lang.String path)
Get the number value of the configuration at "path".
CordappConfigException
- If the configuration fails to load, parse, or find a value.@NotNull java.lang.String getString(@NotNull java.lang.String path)
Get the string value of the configuration at "path".
CordappConfigException
- If the configuration fails to load, parse, or find a value.boolean getBoolean(@NotNull java.lang.String path)
Get the boolean value of the configuration at "path".
CordappConfigException
- If the configuration fails to load, parse, or find a value.