public static interface CommandLine.Model.ISetter
Modifier and Type | Method and Description |
---|---|
<T> T |
set(T value)
Sets the new value of the option or positional parameter.
|
<T> T set(T value) throws Exception
T
- type of the valuevalue
- the new value of the option or positional parameterCommandLine.PicocliException
- if a problem occurred while setting the new valueException
- internally, picocli call sites will catch any exceptions thrown from here and rethrow them wrapped in a PicocliException