Class RemoveApplicationNameRefTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- com.opencloud.sipservlet.client.ant.SipServletTask
-
- com.opencloud.sipservlet.client.ant.RemoveApplicationNameRefTask
-
- All Implemented Interfaces:
java.lang.Cloneable
public class RemoveApplicationNameRefTask extends SipServletTask
Remove a application name reference from a SIP Servlet RA entity. This task invokes theApplicationNameRefManagementMXBean.removeApplicationNameRef(String)
management operation.Ant Parameters
Attribute Description Required name The name of the application name reference to remove. Yes. connectionrefid The id of a previous connect
task that will be used to connect to a SIP Servlet RA entity.No. The connection from the last successful connect
task is used by default.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 false
.Example
<removeserviceref name="vpn"/>
-
-
Constructor Summary
Constructors Constructor Description RemoveApplicationNameRefTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
execute(SipServletClient client)
void
setName(java.lang.String name)
protected void
validateParameters()
-
Methods inherited from class com.opencloud.sipservlet.client.ant.SipServletTask
debug, debug, error, error, execute, fatal, fatal, fatal, getFailOnError, getSipServletClient, info, info, nonFatal, nonFatal, nonFatal, setConnectionRefId, setFailOnError, toByteArray, toString, verbose, verbose, warn, warn
-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
-
validateParameters
protected void validateParameters() throws org.apache.tools.ant.BuildException
- Specified by:
validateParameters
in classSipServletTask
- Throws:
org.apache.tools.ant.BuildException
-
execute
protected void execute(SipServletClient client) throws org.apache.tools.ant.BuildException
- Specified by:
execute
in classSipServletTask
- Throws:
org.apache.tools.ant.BuildException
-
-