Copyright 2002 by aragost

com.aragost.util.cmdline
Class IntervalRule

java.lang.Object
  |
  +--com.aragost.util.cmdline.Rule
        |
        +--com.aragost.util.cmdline.IntervalRule

public class IntervalRule
extends Rule


Constructor Summary
IntervalRule()
          Creates new IntervalRule
 
Method Summary
 void addOption(Option opt)
           
 boolean check(OptionParser parser)
           
 java.lang.String explain()
           
 int getMax()
          Getter for property max.
 int getMin()
          Getter for property min.
 void setMax(int max)
          Setter for property max.
 void setMin(int min)
          Setter for property min.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntervalRule

public IntervalRule()
Creates new IntervalRule

Method Detail

getMin

public int getMin()
Getter for property min.

Returns:
Value of property min.

setMin

public void setMin(int min)
Setter for property min.

Parameters:
min - New value of property min.

getMax

public int getMax()
Getter for property max.

Returns:
Value of property max.

setMax

public void setMax(int max)
Setter for property max.

Parameters:
max - New value of property max.

addOption

public void addOption(Option opt)

check

public boolean check(OptionParser parser)
Specified by:
check in class Rule

explain

public java.lang.String explain()
Specified by:
explain in class Rule

Copyright 2002 by aragost