public class CauDeploy extends XMLRequest
| Constructor and Description |
|---|
CauDeploy(List<UC4HostName> hosts,
String versionOrStoragename)
Creates new CAU deploy request, using a list of agents and a version or storage reference.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRunID()
Returns the RunID of the CAU statistics record.
|
void |
setCustomText(String customText)
Sets the custom text for the upgrade, which will be used as name prefix for the top statistics record instead of 'CAU'.
|
void |
setForced(boolean forced)
Sets the forced flag.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send, showQuarantineNotificationpublic CauDeploy(List<UC4HostName> hosts, String versionOrStoragename)
hosts - list of agent names which should be upgrade. The list
must contain at least one host.versionOrStoragename - version (e.g. 12.0.0-DEV+MAIN.BUILD.1285)
or storage (e.g. UC_AGENT_UNIX_12.0.0-DEV@MAIN.BUILD.1285)
to which the agents should be upgraded to.public void setCustomText(String customText)
customText - Custom text as string, max length is 20public void setForced(boolean forced)
forced - When true, also agents which are not linked to the service manager will be upgraded.public int getRunID()
getMsgbox() returns the error message.
The return value is also 0 if the request has never been sent.Copyright © 2021. All rights reserved.