|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.jasmine.shelbie.command.CommandLine
public class CommandLine
Represent the command line arguments
| Field Summary | |
|---|---|
protected String |
clusterName
Cluster name |
protected String |
domainName
Domain name |
protected String |
machineName
Host name |
protected String |
serverName
Server name |
protected String |
topologyFile
Toplogy file path |
protected boolean |
verbose
Verbose? |
| Fields inherited from interface org.ow2.jasmine.deployme.api.ICommandLine |
|---|
COMMAND_OPTION_CLUSTER_NAME, COMMAND_OPTION_DOMAIN_NAME, COMMAND_OPTION_MACHINE_NAME, COMMAND_OPTION_SERVER_NAME, COMMAND_OPTION_TOPOLOGY_FILE, COMMAND_OPTION_VERBOSE, ERROR_CLUSTER_SERVER, ERROR_DOMAIN_SERVER_CLUSTER, ERROR_MACHINE_DOMAIN_SERVER_CLUSTER, ERROR_NO_OPTIONS, ERROR_SERVER_CLUSTER_DOMAIN, ERROR_TOPOLOGY_NOT_SET |
| Constructor Summary | |
|---|---|
CommandLine()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addValue(String argName,
String argValue)
|
void |
checkCommandLine()
|
String |
getClusterName()
|
String |
getDomainName()
|
String |
getMachineName()
|
String |
getServerName()
|
String |
getTopologyFile()
|
boolean |
getVerbose()
|
void |
setClusterName(String clusterName)
|
void |
setDomainName(String domainName)
|
void |
setMachineName(String machineName)
|
void |
setServerName(String serverName)
|
void |
setTopologyFile(String topologyFile)
|
void |
setVerbose(boolean verbose)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean verbose
protected String topologyFile
protected String serverName
protected String domainName
protected String machineName
protected String clusterName
| Constructor Detail |
|---|
public CommandLine()
| Method Detail |
|---|
public boolean getVerbose()
getVerbose in interface ICommandLinepublic String getTopologyFile()
getTopologyFile in interface ICommandLinepublic String getServerName()
getServerName in interface ICommandLinepublic String getDomainName()
getDomainName in interface ICommandLinepublic String getMachineName()
getMachineName in interface ICommandLinepublic String getClusterName()
getClusterName in interface ICommandLine
public void addValue(String argName,
String argValue)
addValue in interface ICommandLine
public void checkCommandLine()
throws IllegalArgumentException
checkCommandLine in interface ICommandLineIllegalArgumentExceptionpublic void setVerbose(boolean verbose)
verbose - The verbosity to setpublic void setTopologyFile(String topologyFile)
topologyFile - The topology file to setpublic void setServerName(String serverName)
serverName - The server name to setpublic void setDomainName(String domainName)
domainName - The domain name to setpublic void setMachineName(String machineName)
machineName - The machine name to setpublic void setClusterName(String clusterName)
clusterName - The cluster name to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||