Class CommandParameters
java.lang.Object
org.glassfish.internal.embedded.admin.CommandParameters
Command Parameters, needs to be refined...
- Author:
- Jerome Dochez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOperand(String operand) Adds a command primary (operand) parameter.voidAdds a command option as the user would specify it using the CLI command for instanceGet the first operand.Get the operands.org.glassfish.api.admin.ParameterMapvoidsetOperand(String operand) Sets the command primary (operand) parameter.voidSets a command option as the user would specify it using the CLI command for instance
-
Constructor Details
-
CommandParameters
public CommandParameters()
-
-
Method Details
-
setOperand
Sets the command primary (operand) parameter.- Parameters:
operand- the command operand
-
addOperand
Adds a command primary (operand) parameter.- Parameters:
operand- the command operand
-
getOperand
Get the first operand. -
getOperands
Get the operands. -
setOption
Sets a command option as the user would specify it using the CLI command for instance- Parameters:
optionName- option name (without leading -- chars)optionValue- option value
-
addOption
Adds a command option as the user would specify it using the CLI command for instance- Parameters:
optionName- option name (without leading -- chars)optionValue- option value
-
getOptions
public org.glassfish.api.admin.ParameterMap getOptions()
-