Package net.sourceforge.argparse4j.inf
Interface ArgumentGroup
-
- All Known Implementing Classes:
ArgumentGroupImpl
public interface ArgumentGroupThis interface defines a method to conceptually group upArgumentobjects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArgumentaddArgument(java.lang.String... nameOrFlags)Creates newArgumentand adds it to the underlining parser and returns it.ArgumentGroupdescription(java.lang.String description)Sets description to customize help message of this group.
-
-
-
Method Detail
-
description
ArgumentGroup description(java.lang.String description)
Sets description to customize help message of this group.- Parameters:
description- The description of this group.- Returns:
- this
-
addArgument
Argument addArgument(java.lang.String... nameOrFlags)
Creates new
Argumentand adds it to the underlining parser and returns it.See
ArgumentParser.addArgument(String...)for details.
-
-