A - the concrete command specific arguments typepublic interface Arguments<A extends Arguments<A>>
A
parameter specified by the concrete command implementation.| Modifier and Type | Method and Description |
|---|---|
A |
getForContext(ExecutionContext context)
Returns an arguments object for the given execution context with resolved
variables if necessary and possible.
|
String |
toString()
Returns a string representation of the command arguments and options.
|
A getForContext(ExecutionContext context)
this arguments instance is simply returned.
If variables are present, they are resolved if such a variable is defined
in the VariableContext returned by
context.getVariableContext().
Values are converted if necessary with the ValueConverters
returned by
context.getValueConverterFor(Class).
context - the execution context providing access to variables and
convertersNullPointerException - if context is nullIllegalArgumentException - if variables are defined but cannot be converted into the
target typeCopyright © 2025. All rights reserved.