Difference between revisions of "InstalledApp Object"
(→getLabel) |
|||
Line 15: | Line 15: | ||
== <code>updateLabel</code> == | == <code>updateLabel</code> == | ||
+ | Update the label of the installed app | ||
+ | |||
+ | '''Signature''' | ||
+ | void updateLabel(String label) | ||
+ | |||
+ | '''Parameters''' | ||
+ | label - new label for installed app | ||
== <code>Additional Methods to Document</code> == | == <code>Additional Methods to Document</code> == |
Revision as of 23:42, 16 October 2018
getLabel
Get the current label of the installed app.
Signature
String getLabel()
Returns
The current label of the installed app
Example
def appLabel = app.getLabel() log.debug "app label is ${appLabel}"
updateLabel
Update the label of the installed app
Signature
void updateLabel(String label)
Parameters
label - new label for installed app
Additional Methods to Document
void updateSetting(String name, Map options) void updateSetting(String name, Long value) void updateSetting(String name, Boolean value) void updateSetting(String name, String value) void updateSetting(String name, Double value) void updateSetting(String name, Date value) void updateSetting(String name, List value) void removeSetting(String name) void clearSetting(String name) String getInstallationState() Long getId() Long getName() List<EventSubscriptionWrapper> getSubscriptions()