Skip to content

Configuration

Purpose

The Platform 6 configuration stored in application.conf as a java.util.Properties object instance. All java.util.Properties methods are available but changes to the instance are not reflected to the actual configuration.

Methods

Binding name: configuration


Method: String get(String key)

Get the value of the configuration property identified by key.

Examples

println configuration.get("applicationid")

configuration.stringPropertyNames().each { name ->
    println "name: " + name + " value: " + configuration.get( name )
}