|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.deployme.utils.CommandLine
public class CommandLine
Represent the command line arguments
| Field Summary | |
|---|---|
protected java.lang.String |
clusterName
Cluster name |
static java.lang.String |
commandLineClusterName
key word to define cluster name on the command line. |
static java.lang.String |
commandLineDomainName
key word to define domain name on the command line. |
static java.lang.String |
commandLineMachineName
key word to define machine name on the command line. |
static java.lang.String |
commandLineServerName
key word to define server name on the command line. |
static java.lang.String |
commandLinetopologyFileName
key word to define topology file name on the command line. |
static java.lang.String |
commandLineVerbose
key word to define verbose mode on the command line. |
protected java.lang.String |
domainName
Domain name |
static java.lang.String |
ERROR_CLUSTER_SERVER
|
static java.lang.String |
ERROR_DOMAIN_SERVER_CLUSTER
|
static java.lang.String |
ERROR_MACHINE_DOMAIN_SERVER_CLUSTER
|
static java.lang.String |
ERROR_NO_OPTIONS
|
static java.lang.String |
ERROR_SERVER_CLUSTER_DOMAIN
|
static java.lang.String |
ERROR_TOPOLOGY_NOT_SET
|
protected java.lang.String |
machineName
Host name |
protected java.lang.String |
serverName
Server name |
protected java.lang.String |
topologyFile
Toplogy file path |
protected boolean |
verbose
Verbose? |
| Constructor Summary | |
|---|---|
CommandLine()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addValue(java.lang.String argName,
java.lang.String argValue)
Record a value of the command line. |
void |
checkCommandLine()
Check if the command line contains all what we need |
java.lang.String |
getClusterName()
|
java.lang.String |
getDomainName()
return the domainName |
java.lang.String |
getMachineName()
return the machineName |
java.lang.String |
getServerName()
return the serverName |
java.lang.String |
getTopologyFile()
return the topologyFile |
boolean |
getVerbose()
return if verbose |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String ERROR_TOPOLOGY_NOT_SET
public static java.lang.String ERROR_NO_OPTIONS
public static java.lang.String ERROR_SERVER_CLUSTER_DOMAIN
public static java.lang.String ERROR_DOMAIN_SERVER_CLUSTER
public static java.lang.String ERROR_CLUSTER_SERVER
public static java.lang.String ERROR_MACHINE_DOMAIN_SERVER_CLUSTER
public static java.lang.String commandLineVerbose
public static java.lang.String commandLineServerName
public static java.lang.String commandLineDomainName
public static java.lang.String commandLineMachineName
public static java.lang.String commandLineClusterName
public static java.lang.String commandLinetopologyFileName
protected boolean verbose
protected java.lang.String topologyFile
protected java.lang.String serverName
protected java.lang.String domainName
protected java.lang.String machineName
protected java.lang.String clusterName
| Constructor Detail |
|---|
public CommandLine()
| Method Detail |
|---|
public boolean getVerbose()
public java.lang.String getTopologyFile()
public java.lang.String getServerName()
public java.lang.String getDomainName()
public java.lang.String getMachineName()
public java.lang.String getClusterName()
public void addValue(java.lang.String argName,
java.lang.String argValue)
argName - Name of the value to recordargValue - Value to recordpublic void checkCommandLine()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||