org.ceryle.wiki.plugin.util
Class IntParam

java.lang.Object
  extended by org.ceryle.wiki.plugin.util.Parameter
      extended by org.ceryle.wiki.plugin.util.IntParam

public class IntParam
extends Parameter

Serves as an int parameter object in expressions.

Author:
John Volkar (john.volkar at gmail.com)

Constructor Summary
IntParam(String name, int defaultValue, boolean required, String description, ParameterGroup group)
           
 
Method Summary
 int get()
           
protected  void parseSuppliedValue()
           
 
Methods inherited from class org.ceryle.wiki.plugin.util.Parameter
describe, getDescription, getName, getSuppliedValue, isRequired, throwBad, update, usingDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntParam

public IntParam(String name,
                int defaultValue,
                boolean required,
                String description,
                ParameterGroup group)
Method Detail

parseSuppliedValue

protected void parseSuppliedValue()
                           throws ParameterException
Specified by:
parseSuppliedValue in class Parameter
Throws:
ParameterException

get

public int get()


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.