Package org.glassfish.ant.embedded.tasks
Class StartServerTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.glassfish.ant.embedded.tasks.TaskBase
-
- org.glassfish.ant.embedded.tasks.StartServerTask
-
-
Constructor Summary
Constructors Constructor Description StartServerTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
void
setConfigFile(String configFile)
void
setConfigFileReadOnly(Boolean configFileReadOnly)
void
setHttpPort(int port)
Set the default http port The default http port will be used only when a custom domain.xml isn't provided via instanceRoot or configFileURIvoid
setInstallRoot(String installRoot)
void
setInstanceRoot(String instanceRoot)
void
setServerID(String serverID)
-
Methods inherited from class org.glassfish.ant.embedded.tasks.TaskBase
setFailOnError
-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
setServerID
public void setServerID(String serverID)
-
setHttpPort
public void setHttpPort(int port)
Set the default http port The default http port will be used only when a custom domain.xml isn't provided via instanceRoot or configFileURI- Parameters:
port
- default http port
-
setInstallRoot
public void setInstallRoot(String installRoot)
-
setInstanceRoot
public void setInstanceRoot(String instanceRoot)
-
setConfigFile
public void setConfigFile(String configFile)
-
setConfigFileReadOnly
public void setConfigFileReadOnly(Boolean configFileReadOnly)
-
execute
public void execute() throws org.apache.tools.ant.BuildException
- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-
-