public class ConfigureSasTask extends AbstractBaseTask
A Rhino management sub task for configuring SAS.
Attribute | Description | Required |
---|---|---|
server |
The hostname/address of the SAS server. If set, will override values in nested |
No. |
resourceIdentifier |
The resource-identifier of the SAS resource bundle to associate with events sent to the SAS server. |
No. |
systemName |
The system name to use when connecting to SAS. |
No. |
appendNodeID |
Determine if the cluster node ID should be appended to the system name |
No. |
systemType |
The system type to use when connecting to SAS. |
No. |
systemVersion |
The system version to use when connecting to SAS. |
No. |
failonerror |
Flag to control failure behaviour.
If 'true', the sub task will throw a |
No. default value is taken from the Rhino management parent task. |
Element |
Description |
Required |
server |
A SAS server host and optional port specification.
See |
No. |
Modifier and Type | Class and Description |
---|---|
static class |
ConfigureSasTask.SasServerElement
A nested element that identifies a SAS server.
|
client, failOnError
Constructor and Description |
---|
ConfigureSasTask() |
Modifier and Type | Method and Description |
---|---|
void |
addServer(ConfigureSasTask.SasServerElement server) |
protected void |
execute() |
void |
setAppendNodeID(boolean appendNodeID) |
void |
setResourceIdentifier(String resourceIdentifier) |
void |
setServer(String server) |
void |
setSystemName(String systemName) |
void |
setSystemType(String systemType) |
void |
setSystemVersion(String systemVersion) |
protected void |
validateParameters() |
getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, run, setFailOnError
protected void execute() throws org.apache.tools.ant.BuildException
execute
in class AbstractBaseTask
org.apache.tools.ant.BuildException
protected void validateParameters() throws org.apache.tools.ant.BuildException
validateParameters
in class AbstractBaseTask
org.apache.tools.ant.BuildException
public void setSystemName(String systemName)
public void setAppendNodeID(boolean appendNodeID)
public void setSystemType(String systemType)
public void setSystemVersion(String systemVersion)
public void setServer(String server)
public void setResourceIdentifier(String resourceIdentifier)
public void addServer(ConfigureSasTask.SasServerElement server)