|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTask
com.ibm.websphere.ant.tasks.ServerControl
public abstract class ServerControl
ServerControl is the abstract base class of StartServer, StopServer, and ServerStatus. It encapsulates common functionality used by those three tasks. This is not a task itself and it cannot be instantiated.
Constructor Summary | |
---|---|
ServerControl()
|
Method Summary | |
---|---|
abstract void |
addAdditionalArgs(java.util.ArrayList<java.lang.String> args)
|
abstract void |
addJvmArgs(Java jvm)
|
void |
execute()
|
abstract java.lang.String |
getMainClass()
|
abstract java.lang.String |
getTaskName()
|
boolean |
isDebug()
|
void |
runScript(java.lang.String wasHome,
java.lang.String scriptName,
java.lang.String[] parms,
org.apache.tools.ant.Project project,
boolean failonerror)
|
void |
setDebug(boolean debug)
|
void |
setFailonerror(boolean failonerror)
Sets the failonerror. |
void |
setFileEncoding(java.lang.String fileEncoding)
|
void |
setJvmMaxMemory(java.lang.String jvmMaxMemory)
Sets the jvmMaxMemory. |
void |
setLogFile(java.lang.String logFile)
Sets the logFile. |
void |
setNoWait(boolean noWait)
Sets the noWait. |
void |
setPassword(java.lang.String password)
Sets the password. |
void |
setProfileName(java.lang.String string)
Sets the server profile name. |
void |
setQuiet(boolean quiet)
Sets the quiet. |
void |
setReplaceLog(boolean replaceLog)
Sets the replaceLog. |
void |
setServer(java.lang.String server)
Sets the server. |
void |
setStatusPort(java.lang.String statusPort)
Sets the statusPort. |
void |
setTimeout(java.lang.String timeout)
Sets the timeout. |
void |
setTrace(boolean trace)
Sets the trace. |
void |
setUsername(java.lang.String username)
Sets the username. |
void |
setWasHome(java.lang.String wasHome)
Sets the wasHome. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerControl()
Method Detail |
---|
public void execute() throws BuildException
BuildException
Task#execute()
public void runScript(java.lang.String wasHome, java.lang.String scriptName, java.lang.String[] parms, org.apache.tools.ant.Project project, boolean failonerror)
public void setNoWait(boolean noWait)
noWait
- The noWait to setpublic void setQuiet(boolean quiet)
quiet
- The quiet to setpublic void setTrace(boolean trace)
trace
- The trace to setpublic void setTimeout(java.lang.String timeout)
timeout
- The timeout to setpublic void setStatusPort(java.lang.String statusPort)
statusPort
- The statusPort to setpublic void setServer(java.lang.String server)
server
- The server to setpublic void setWasHome(java.lang.String wasHome)
wasHome
- The wasHome to setpublic void setFailonerror(boolean failonerror)
failonerror
- The failonerror to setpublic abstract java.lang.String getMainClass()
public abstract void addAdditionalArgs(java.util.ArrayList<java.lang.String> args)
public abstract void addJvmArgs(Java jvm)
public abstract java.lang.String getTaskName()
public void setLogFile(java.lang.String logFile)
logFile
- The logFile to setpublic void setPassword(java.lang.String password)
password
- The password to setpublic void setReplaceLog(boolean replaceLog)
replaceLog
- The replaceLog to setpublic void setUsername(java.lang.String username)
username
- The username to setpublic void setProfileName(java.lang.String string)
profileName
- The server profile name to setpublic void setJvmMaxMemory(java.lang.String jvmMaxMemory)
jvmMaxMemory
- The JVM MaxMemory to setpublic void setDebug(boolean debug)
debug
- public boolean isDebug()
public void setFileEncoding(java.lang.String fileEncoding)
fileEncoding
- The fileEncoding to set.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |