public class UninstallApplication extends WsAdmin
<wsUninstallApp
wasHome="location of websphere installation"
application="the name of the application you wish to uninstall"
options="the options to pass to the installation process"
properties="java properties file containing attributes to set in the JVM System properties"
profile="a script file to be executed before the main command or file"
profileName="the profile name of the desired server"
conntype="specifies the type of connection to be used."
host="the host to connect to"
port="the port on the host to connect to"
user="user ID to authenticate with"
password="password to authenticate with
failonerror="true | false"/>
The wasHome attribute is optional and contains the location of the WebSphere Installation Directory.Constructor and Description |
---|
UninstallApplication()
Constructor for UninstallApplication.
|
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
setApplication(java.lang.String application)
Sets the application name.
|
void |
setCommand(java.lang.String command)
Disabled in this subclass
|
void |
setLang(java.lang.String lang)
Disabled in this subclass
|
void |
setOptions(java.lang.String options)
Sets the options.
|
void |
setScript(java.lang.String script)
Disabled in this subclass
|
createArg, createJvmarg, isDebug, setConntype, setDebug, setFailonerror, setFileEncoding, setHost, setJvmMaxMemory, setPassword, setPort, setProfile, setProfileName, setProperties, setUser, setWasHome
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public UninstallApplication()
public void setCommand(java.lang.String command)
setCommand
in class WsAdmin
command
- The command to setpublic void setLang(java.lang.String lang)
public void setScript(java.lang.String script)
public void setApplication(java.lang.String application)
ear
- The application to uninstallpublic void execute() throws org.apache.tools.ant.BuildException
public void setOptions(java.lang.String options)
options
- The options to set