Class ConnectServiceLimiterEndpointTask

  • All Implemented Interfaces:
    SubTask

    public class ConnectServiceLimiterEndpointTask
    extends AbstractBaseTask

    A Rhino management sub task for connecting a Service limiter endpoint to a limiter.

    Ant Parameters
    Attribute Description Required

    servicename

    Name of the service.

    Yes.

    servicevendor

    Vendor of the service.

    Yes.

    serviceversion

    Version of the service.

    Yes.

    sbbname

    Name of the sbb.

    Yes.

    sbbvendor

    Vendor of the sbb.

    Yes.

    sbbversion

    Version of the sbb.

    Yes.

    endpointname

    Name of the endpoint.

    Yes.

    limitername

    Name of the limiter to connect to.

    Yes.

    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.

    • Constructor Detail

      • ConnectServiceLimiterEndpointTask

        public ConnectServiceLimiterEndpointTask()
    • 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
      • setEndpointName

        public void setEndpointName​(String endpointName)
      • setLimiterName

        public void setLimiterName​(String limiterName)
      • setSbbName

        public void setSbbName​(String sbbName)
      • setSbbVendor

        public void setSbbVendor​(String sbbVendor)
      • setSbbVersion

        public void setSbbVersion​(String sbbVersion)
      • setServiceName

        public void setServiceName​(String serviceName)
      • setServiceVendor

        public void setServiceVendor​(String serviceVendor)
      • setServiceVersion

        public void setServiceVersion​(String serviceVersion)