Class ConfigureSasTask
- java.lang.Object
-
- com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
-
- com.opencloud.slee.mlet.ant.tasks.ConfigureSasTask
-
- All Implemented Interfaces:
SubTask
public class ConfigureSasTask extends AbstractBaseTask
A Rhino management sub task for configuring SAS.
Ant Parameters Attribute Description Required server
The hostname/address of the SAS server. If set, will override values in nested
serverelements.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
BuildExceptionwhen an error is encountered. If 'false', the sub task will throw aNonFatalBuildExceptioninstead of aBuildExceptionunder specific circumstances. See below for conditions (if any) which will cause aNonFatalBuildException.No. default value is taken from the Rhino management parent task.
Nested elements Element
Description
Required
server
A SAS server host and optional port specification. See
ConfigureSasTask.SasServerElementNo.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigureSasTask.SasServerElementA nested element that identifies a SAS server.
-
Field Summary
-
Fields inherited from class com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
client, failOnError
-
-
Constructor Summary
Constructors Constructor Description ConfigureSasTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddServer(ConfigureSasTask.SasServerElement server)protected voidexecute()voidsetAppendNodeID(boolean appendNodeID)voidsetResourceIdentifier(String resourceIdentifier)voidsetServer(String server)voidsetSystemName(String systemName)voidsetSystemType(String systemType)voidsetSystemVersion(String systemVersion)protected voidvalidateParameters()-
Methods inherited from class com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, run, setFailOnError
-
-
-
-
Method Detail
-
execute
protected void execute() throws org.apache.tools.ant.BuildException- Specified by:
executein classAbstractBaseTask- Throws:
org.apache.tools.ant.BuildException
-
validateParameters
protected void validateParameters() throws org.apache.tools.ant.BuildException- Specified by:
validateParametersin classAbstractBaseTask- Throws:
org.apache.tools.ant.BuildException
-
setSystemName
public void setSystemName(String systemName)
-
setAppendNodeID
public void setAppendNodeID(boolean appendNodeID)
-
setSystemType
public void setSystemType(String systemType)
-
setSystemVersion
public void setSystemVersion(String systemVersion)
-
setServer
public void setServer(String server)
-
setResourceIdentifier
public void setResourceIdentifier(String resourceIdentifier)
-
addServer
public void addServer(ConfigureSasTask.SasServerElement server)
-
-