public class ResinArgs
extends java.lang.Object
Constructor and Description |
---|
ResinArgs() |
ResinArgs(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<com.caucho.server.resin.ResinArgs.BoundPort> |
getBoundPortList()
Returns the bound port list.
|
Path |
getDataDirectory()
Gets the root directory.
|
java.lang.String |
getElasticServerAddress() |
int |
getElasticServerPort() |
java.lang.String |
getHomeCluster() |
Path |
getLicenseDirectory() |
java.lang.String |
getMode() |
java.lang.String |
getPassword() |
java.net.Socket |
getPingSocket() |
java.lang.String |
getResinConf()
The configuration file used to start the server.
|
Path |
getResinConfPath() |
Path |
getResinHome() |
Path |
getRootDirectory()
Gets the root directory.
|
java.lang.String |
getServerAddress() |
java.lang.String |
getServerId() |
int |
getServerPort() |
java.lang.String |
getStage()
Returns the stage to start with.
|
java.lang.String |
getUser() |
Path |
getUserProperties() |
boolean |
isDumpHeapOnExit() |
boolean |
isElasticServer() |
boolean |
isOpenSource() |
void |
setDataDirectory(Path path)
Sets the root directory.
|
void |
setElastic(boolean isElastic) |
void |
setHomeCluster(java.lang.String homeCluster) |
void |
setLicenseDirectory(Path licenseDirectory) |
void |
setOpenSource(boolean isOpenSource) |
void |
setResinConf(java.lang.String resinConf) |
void |
setRootDirectory(Path root) |
void |
setServerAddress(java.lang.String address) |
void |
setServerId(java.lang.String serverId) |
void |
setServerPort(int port) |
void |
setStage(java.lang.String stage) |
java.lang.String |
toString() |
public ResinArgs()
public ResinArgs(java.lang.String[] args) throws ConfigException
ConfigException
public void setServerId(java.lang.String serverId)
public java.lang.String getServerId()
public Path getResinHome()
public Path getRootDirectory()
public void setRootDirectory(Path root)
public Path getLicenseDirectory()
public void setLicenseDirectory(Path licenseDirectory)
public Path getDataDirectory()
public void setDataDirectory(Path path)
public java.net.Socket getPingSocket()
public void setOpenSource(boolean isOpenSource)
public boolean isOpenSource()
public java.lang.String getResinConf()
public void setResinConf(java.lang.String resinConf)
public Path getUserProperties()
public java.lang.String getMode()
public Path getResinConfPath()
public java.util.ArrayList<com.caucho.server.resin.ResinArgs.BoundPort> getBoundPortList()
public java.lang.String getStage()
public void setStage(java.lang.String stage)
public void setElastic(boolean isElastic)
public boolean isElasticServer()
public int getElasticServerPort()
public java.lang.String getElasticServerAddress()
public void setHomeCluster(java.lang.String homeCluster)
public java.lang.String getHomeCluster()
public java.lang.String getServerAddress()
public void setServerAddress(java.lang.String address)
public int getServerPort()
public void setServerPort(int port)
public java.lang.String getUser()
public java.lang.String getPassword()
public boolean isDumpHeapOnExit()
public java.lang.String toString()
toString
in class java.lang.Object