public class StopApplication extends WsAdmin
<wsStopApp
wasHome="location of websphere installation"
server="the name of the server containing the application to start"
node="the name of the node containing the application to start"
application="the name of the application to stop"
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 |
---|
StopApplication()
Constructor for StopApplication.
|
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
setApplication(java.lang.String application)
Sets the ear.
|
void |
setCommand(java.lang.String command)
Disabled in this subclass
|
void |
setLang(java.lang.String lang)
Disabled in this subclass
|
void |
setNode(java.lang.String node)
Sets the name of the node containing the application.
|
void |
setScript(java.lang.String script)
Disabled in this subclass
|
void |
setServer(java.lang.String server)
Sets the name of the server containing the application.
|
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 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 ear to setpublic void setServer(java.lang.String server)
server
- The name of the serverpublic void setNode(java.lang.String node)
node
- The name of the node