org.kohsuke.args4j
Class MapSetter
java.lang.Object
org.kohsuke.args4j.MapSetter
- All Implemented Interfaces:
- Setter
public class MapSetter
- extends Object
- implements Setter
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 |
MapSetter
public MapSetter(Object bean,
Field f)
getType
public Class getType()
- Description copied from interface:
Setter
- Gets the type of the underlying method/field.
- Specified by:
getType
in interface Setter
isMultiValued
public boolean isMultiValued()
- Description copied from interface:
Setter
- Whether this setter is instrinsically multi-valued.
- Specified by:
isMultiValued
in interface Setter
addValue
public void addValue(Object value)
- Description copied from interface:
Setter
- Adds/sets a value to the property of the option bean.
A Setter
object has an implicit knowledge about the property it's setting,
and the instance of the option bean.
- Specified by:
addValue
in interface Setter
Copyright © 2003-2011 Kohsuke Kawaguchi. All Rights Reserved.