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: p6.configuration
Method: String get(String key)
Get the value of the configuration property identified by key.
Examples¶
println p6.configuration.get("instance.id") p6.configuration.stringPropertyNames().each { name -> println "name: " + name + " value: " + p6.configuration.get( name ) }