|
||||||||||
| 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 |
commandLineHostName
key word to define host 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. |
protected java.lang.String |
domainName
Domain name |
protected java.lang.String |
hostName
Host name |
protected java.lang.String |
serverName
Server name |
protected java.lang.String |
topologyFile
Toplogy file path |
| 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 |
getHostName()
return the hostName |
java.lang.String |
getServerName()
return the serverName |
java.lang.String |
getTopologyFile()
return the topologyFile |
| 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 commandLineServerName
public static java.lang.String commandLineDomainName
public static java.lang.String commandLineHostName
public static java.lang.String commandLineClusterName
public static java.lang.String commandLinetopologyFileName
protected java.lang.String topologyFile
protected java.lang.String serverName
protected java.lang.String domainName
protected java.lang.String hostName
protected java.lang.String clusterName
| Constructor Detail |
|---|
public CommandLine()
| Method Detail |
|---|
public java.lang.String getTopologyFile()
public java.lang.String getServerName()
public java.lang.String getDomainName()
public java.lang.String getHostName()
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 | |||||||||