| Constructor and Description |
|---|
MethodSetter(CmdLineParser parser,
Object bean,
Method m) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(Object value)
Adds/sets a value to the property of the option bean.
|
Class |
getType()
Gets the type of the underlying method/field.
|
boolean |
isMultiValued()
Whether this setter is instrinsically multi-valued.
|
public MethodSetter(CmdLineParser parser, Object bean, Method m)
public Class getType()
Setterpublic boolean isMultiValued()
SetterisMultiValued in interface Setterpublic void addValue(Object value) throws CmdLineException
Setter
A Setter object has an implicit knowledge about the property it's setting,
and the instance of the option bean.
addValue in interface SetterCmdLineExceptionCopyright © 2003-2014 Kohsuke Kawaguchi. All Rights Reserved.