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