Package org.rwtodd.args
Class FlagParam
- All Implemented Interfaces:
NoArgParam,Param
Represents a boolean flag, which takes no arguments, turns true when
provided.
-
Field Summary
Fields inherited from class org.rwtodd.args.BasicNoArgParam
helpText, paramNames -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.rwtodd.args.BasicNoArgParam
addHelp, addToMap, getValue
-
Constructor Details
-
FlagParam
-
-
Method Details
-
process
Description copied from interface:NoArgParamProcess a parameter found on the command-line.- Parameters:
param- the name of the parameter.- Throws:
ArgParserException- when there is a problem processing the parameter.
-