Instance
Purpose¶
Retrieve instance information.
Methods¶
Binding name: p6.instance
Method: List<String> listAppKeys()
Return the list of installed app keys.
Method: String selectedAppKey()
Return the name of the selected appKey. An empty string is returned if none is selected
Method: String coreVersion()
Returns the P6 Core instance version
Examples¶
println "P6Core: ${p6.instance.coreVersion()}"
println "Current appKey: ${p6.instance.selectedAppKey()}"
p6.instance.listAppKeys().each{ name ->
println "Found appKey: ${name}"
}