|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.internal.embedded.admin.CommandParameters
public class CommandParameters
Command Parameters, needs to be refined...
| Constructor Summary | |
|---|---|
CommandParameters()
|
|
| Method Summary | |
|---|---|
void |
addOperand(String operand)
Adds a command primary (operand) parameter. |
void |
addOption(String optionName,
String optionValue)
Adds a command option as the user would specify it using the CLI command for instance |
String |
getOperand()
Get the first operand. |
List<String> |
getOperands()
Get the operands. |
ParameterMap |
getOptions()
|
void |
setOperand(String operand)
Sets the command primary (operand) parameter. |
void |
setOption(String optionName,
String optionValue)
Sets a command option as the user would specify it using the CLI command for instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandParameters()
| Method Detail |
|---|
public void setOperand(String operand)
operand - the command operandpublic void addOperand(String operand)
operand - the command operandpublic String getOperand()
public List<String> getOperands()
public void setOption(String optionName,
String optionValue)
optionName - option name (without leading -- chars)optionValue - option value
public void addOption(String optionName,
String optionValue)
optionName - option name (without leading -- chars)optionValue - option valuepublic ParameterMap getOptions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||