Class 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 server elements.

    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 BuildException when an error is encountered. If 'false', the sub task will throw a NonFatalBuildException instead of a BuildException under specific circumstances. See below for conditions (if any) which will cause a NonFatalBuildException.

    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.SasServerElement

    No.

    • Constructor Detail

      • ConfigureSasTask

        public ConfigureSasTask()
    • Method Detail

      • execute

        protected void execute()
                        throws org.apache.tools.ant.BuildException
        Specified by:
        execute in class AbstractBaseTask
        Throws:
        org.apache.tools.ant.BuildException
      • validateParameters

        protected void validateParameters()
                                   throws org.apache.tools.ant.BuildException
        Specified by:
        validateParameters in class AbstractBaseTask
        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)