Package org.rwtodd.args
Interface NoArgParam<T>
- All Superinterfaces:
Param
- All Known Implementing Classes:
BasicNoArgParam,CountingParam,EnumParam,FlagParam
An interface for a parameter that doesn't take arguments. Typically
these are simple boolean flags (see
FlagParam for a typical flag).-
Method Summary
-
Method Details
-
process
Process a parameter found on the command-line.- Parameters:
param- the name of the parameter.- Throws:
ArgParserException- when there is a problem processing the parameter.
-
getValue
T getValue()gets the current value of the parameter
-