public abstract class ServerControl
extends org.apache.tools.ant.Task
Constructor and Description |
---|
ServerControl() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addAdditionalArgs(java.util.ArrayList<java.lang.String> args) |
abstract void |
addJvmArgs(org.apache.tools.ant.taskdefs.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.
|
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 void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.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(org.apache.tools.ant.taskdefs.Java jvm)
public abstract java.lang.String getTaskName()
getTaskName
in class org.apache.tools.ant.Task
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.