org.sourceforge.jemm.server
Class ServerOptions
java.lang.Object
org.sourceforge.jemm.server.ServerOptions
public class ServerOptions
- extends java.lang.Object
Constructor Summary |
ServerOptions(org.apache.commons.cli.CommandLine cmd)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_CLIENT_PORT
public static final int DEFAULT_CLIENT_PORT
- See Also:
- Constant Field Values
DEFAULT_CONTROL_PORT
public static final int DEFAULT_CONTROL_PORT
- See Also:
- Constant Field Values
ServerOptions
public ServerOptions(org.apache.commons.cli.CommandLine cmd)
throws org.apache.commons.cli.ParseException
- Throws:
org.apache.commons.cli.ParseException
fileDirExistsAndIsWritable
protected boolean fileDirExistsAndIsWritable(java.io.File file)
generateOptions
public static org.apache.commons.cli.Options generateOptions()
getAction
public ServerAction getAction()
getControlPort
public int getControlPort()
getPort
public int getPort()
getMode
public ServerMode getMode()
getDataDir
public java.io.File getDataDir()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2009. All Rights Reserved.