| Modifier and Type | Method and Description |
|---|---|
void |
Command.checkParameterValidity(boolean convertIfNecessary)
This method verifies the validity of the parameters.
|
void |
AbstractCommand.checkParameterValidity(boolean convertIfNecessary) |
| Constructor and Description |
|---|
AbstractCommand(Command commandToTransform)
Constructor for
AbstractCommand that acts as a pseudo-copy constructor and a command
decorator/transformer. |
| Modifier and Type | Method and Description |
|---|---|
void |
StartCommand.checkParameterValidity(boolean convertIfNecessary)
Ensures that if either
StartCommand.PARAM_INPUT_DIR or StartCommand.PARAM_INPUT_FILE are specified, that both are
specified. |
String[] |
StartCommand.getEnvironment(Properties properties)
Convienence method that not only returns the environment variables as a String array, but the environment
variables are also populated in the given
Properties map so the caller can more easily look up
environment variables by name. |
| Modifier and Type | Method and Description |
|---|---|
Object |
FixedValuesParameterDefinition.convertObject(Object objectToConvert)
Makes sure that, after conversion, the object still matches one of the fixed, allowed values.
|
Object |
ParameterDefinition.convertObject(Object objectToConvert)
This method converts the given
objectToConvert value into an instance of this parameter's
type. |
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.