Class AddExternalPlatformAddressTask


  • public class AddExternalPlatformAddressTask
    extends SISSubTask
    Add a SIP or IN address to an external platform definition for a SIS RA entity. The SIS RA entity to manage to is specified by the enclosing SISManagementTask element. For example:
     <sis-sip-management raentity="foo">
       <addexternalplatformaddress extPlatformName="vpn" address="sip:alice@company.com"/>
     </sis-sip-management>
     
    This task invokes one of the addAddress management operations in ExternalPlatformManagementMBean, depending on the parameters provided.

    Ant Parameters

    Attribute Description Required
    extPlatformName The name of the external platform definition to update. Yes.
    address The address to add. The address string must be valid for the protocol type. IN SCCP addresses must conform to the format described in com.opencloud.slee.resources.cgin.SccpAddressParser. Yes.
    position The position in the current address list in which to add this new one.
    • Values less than zero will be treated as zero, ie. insert at the beginning of the list.
    • Values greater than the current number of addresses will be treated as equal to the current number of addresses, ie. insert at the end of the list.
    No. Default is to add to the end of the list.
    failonerror Default failure case behaviour for this task. If set to 'false' or 'no', the build will continue when this task attempts a redundant action. No. Default is inherited from the enclosing SISManagementTask.
    • Constructor Detail

      • AddExternalPlatformAddressTask

        public AddExternalPlatformAddressTask()
    • Method Detail

      • setExtPlatformName

        public void setExtPlatformName​(String extPlatformName)
      • setAddress

        public void setAddress​(String address)
      • setPosition

        public void setPosition​(int pos)