public class StopServer extends ServerControl
<wsStopServer
server="name of the server to stop"
profileName="the profile name of the desired server"
noWait="true | false"
quiet="true | false"
logFile="name of the file to log to"
replaceLog="true | false"
trace="true | false"
timeout="amount of time to wait for the server to stop"
statusPort="port for the server to send status messages to"
conntype="SOAP | RMI"
port="admin port of the server you wish to stop"
username="name of the admin userid id to authenticate with"
password="password of the admin user to authenticate with"
wasHome="WebSphere Installation directory"
failonerror="true | false"
fileEncoding="UTF8"/>
The server attribute is required and contains the name of the server you wish to stopConstructor and Description |
---|
StopServer() |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalArgs(java.util.ArrayList<java.lang.String> args) |
void |
addJvmArgs(org.apache.tools.ant.taskdefs.Java jvm) |
java.lang.String |
getMainClass() |
java.lang.String |
getTaskName() |
void |
setConntype(java.lang.String conntype)
Sets the conntype.
|
void |
setPort(java.lang.String port)
Sets the port.
|
execute, isDebug, runScript, setDebug, setFailonerror, setFileEncoding, setJvmMaxMemory, setLogFile, setNoWait, setPassword, setProfileName, setQuiet, setReplaceLog, setServer, setStatusPort, setTimeout, setTrace, setUsername, setWasHome
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public java.lang.String getMainClass()
getMainClass
in class ServerControl
ServerControl.getMainClass()
public void addAdditionalArgs(java.util.ArrayList<java.lang.String> args)
addAdditionalArgs
in class ServerControl
ServerControl.addAdditionalArgs(ArrayList)
public void addJvmArgs(org.apache.tools.ant.taskdefs.Java jvm)
addJvmArgs
in class ServerControl
ServerControl.addJvmArgs(Java)
public java.lang.String getTaskName()
getTaskName
in class ServerControl
Task.getTaskName()
public void setConntype(java.lang.String conntype)
conntype
- The conntype to setpublic void setPort(java.lang.String port)
port
- The port to set