T
- the actual type of this WithParams, as the return type of setterpublic interface WithParams<T>
Modifier and Type | Method and Description |
---|---|
default <V> V |
get(ParamInfo<V> info)
Returns the value of the specific param.
|
Params |
getParams()
Returns the all the parameters.
|
default <V> T |
set(ParamInfo<V> info,
V value)
Set the value of a specific parameter.
|
Params getParams()
default <V> T set(ParamInfo<V> info, V value)
V
- the type of the specific paraminfo
- the info of the specific param to setvalue
- the value to be set to the specific paramdefault <V> V get(ParamInfo<V> info)
V
- the type of the specific paraminfo
- the info of the specific param, usually with default valueinfo
if the
inner Params doesn't contains this paramCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.