public interface ParameterBridge
For example, a command execution requires parameters from the command line while a supplemented command may require a different set of parameter names which can be either discovered or translated from the originally supplied list.
| Modifier and Type | Interface and Description |
|---|---|
static class |
ParameterBridge.NoMapper
Provided mapper that does not change parameters names or values from the input set.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
get(ParameterMap map,
String resourceName)
Returns the parameter values as expected by the injection code when a dependency
injection annotated field or method (for instance, annotated with @Param
or @Inject) needs to be resolved.
|
String |
getOne(ParameterMap map,
String resourceName)
Returns the parameter value as expected by the injection code when a dependency
injection annotated field or method (for instance, annotated with @Param
or @Inject) needs to be resolved.
|
String getOne(ParameterMap map, String resourceName)
map - is the original set of parameters as used to inject the supplemented
command.resourceName - the name of the resource as defined by the actionList<String> get(ParameterMap map, String resourceName)
map - is the original set of parameters as used to inject the supplemented
command.resourceName - the name of the resource as defined by the actionCopyright © 2017–2020 Eclipse Foundation. All rights reserved.