net.sf.clichart.main.cliserver
Class NoArgumentOptionSetter

java.lang.Object
  extended by net.sf.clichart.main.cliserver.AbstractOptionSetter
      extended by net.sf.clichart.main.cliserver.NoArgumentOptionSetter
All Implemented Interfaces:
OptionSetter

public class NoArgumentOptionSetter
extends AbstractOptionSetter

Option setter for options that don't take an argument

Author:
johnd

Constructor Summary
NoArgumentOptionSetter(java.lang.String setterName)
           
 
Method Summary
protected  java.lang.Class[] getParameterType()
           
protected  void setValue(OptionsBean options, java.lang.reflect.Method method, java.lang.String command, java.lang.String argument)
           
 
Methods inherited from class net.sf.clichart.main.cliserver.AbstractOptionSetter
setOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoArgumentOptionSetter

public NoArgumentOptionSetter(java.lang.String setterName)
Method Detail

setValue

protected void setValue(OptionsBean options,
                        java.lang.reflect.Method method,
                        java.lang.String command,
                        java.lang.String argument)
                 throws java.lang.IllegalAccessException,
                        InvalidOptionsException,
                        java.lang.reflect.InvocationTargetException
Specified by:
setValue in class AbstractOptionSetter
Throws:
java.lang.IllegalAccessException
InvalidOptionsException
java.lang.reflect.InvocationTargetException

getParameterType

protected java.lang.Class[] getParameterType()
Specified by:
getParameterType in class AbstractOptionSetter