public class ServerConfiguration extends Object implements Serializable
Constructor and Description |
---|
ServerConfiguration() |
Modifier and Type | Method and Description |
---|---|
ServerConfiguration |
copy() |
String |
getContextPath() |
String |
getControlPort() |
File |
getFolder() |
String |
getId()
Get the instance id
|
int |
getInstances() |
String |
getOpts() |
String |
getPort() |
String |
getRunmode() |
String |
getServer()
Get the server
|
String |
getStdOutFile() |
String |
getVmDebugOpts(String globalDebug)
Returns the debugging options derived from the passed globalDebug parameter and the debug field (where the globalDebug parameter has precedence over the local field)
|
String |
getVmOpts() |
void |
setContextPath(String contextPath) |
void |
setControlPort(String controlPort) |
void |
setDebug(String debug) |
void |
setFolder(File folder) |
void |
setId(String id)
Set the instance id
|
void |
setInstances(int value) |
void |
setOpts(String opts) |
void |
setPort(String port) |
void |
setRunmode(String runmode) |
void |
setStdOutFile(String stdOutFile) |
void |
setVmOpts(String vmOpts) |
String |
toString() |
public String getId()
public void setId(String id)
id
- New instance idpublic String getRunmode()
public void setRunmode(String runmode)
public String getPort()
public void setPort(String port)
public String getContextPath()
public void setContextPath(String contextPath)
public String getVmOpts()
public void setVmOpts(String vmOpts)
public String getVmDebugOpts(String globalDebug)
globalDebug
- the global debug options (may be null
).null
. Should be appended to the ones being returned by getVmOpts()
.public void setDebug(String debug)
public String getOpts()
public void setOpts(String opts)
public int getInstances()
public void setInstances(int value)
public File getFolder()
public void setFolder(File folder)
public String getControlPort()
public void setControlPort(String controlPort)
public String getStdOutFile()
public void setStdOutFile(String stdOutFile)
public String getServer()
public ServerConfiguration copy()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.