|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.args4j.spi.MethodSetter
public final class MethodSetter
Constructor Summary | |
---|---|
MethodSetter(CmdLineParser parser,
Object bean,
Method m)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodSetter(CmdLineParser parser, Object bean, Method m)
Method Detail |
---|
public Class getType()
Setter
getType
in interface Setter
public boolean isMultiValued()
Setter
isMultiValued
in interface Setter
public 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 Setter
CmdLineException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |