Gemfire JavaDocs
Interface ArgumentHandler
-
- All Known Implementing Classes:
URLArgumentHandler
public interface ArgumentHandler
Interface specifying the requirements for objects wiching to be able to examine arguments (potentially tweaking parameters) at the time of parsing, thereby allowing for usage display to occur automatically.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleArgument(Argument arg, java.lang.String form, java.lang.String[] params)
Process the argument values specified.
-
-
-
Method Detail
-
handleArgument
void handleArgument(Argument arg, java.lang.String form, java.lang.String[] params) throws UsageException
Process the argument values specified.- Parameters:
arg
- argument definitionform
- form which was used on the command lineparams
- parameters supplied to the argument- Throws:
UsageException
- when usage was suboptimal
-
-