Class DefaultExtraArgument
java.lang.Object
gov.nist.secauto.metaschema.cli.processor.command.DefaultExtraArgument
- All Implemented Interfaces:
ExtraArgument
-
Constructor Summary
ConstructorDescriptionDefaultExtraArgument
(String name, boolean required) DefaultExtraArgument
(String name, boolean required, int number) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
The allowed number of arguments of this type.boolean
-
Constructor Details
-
DefaultExtraArgument
-
DefaultExtraArgument
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceExtraArgument
-
isRequired
- Specified by:
isRequired
in interfaceExtraArgument
-
getNumber
Description copied from interface:ExtraArgument
The allowed number of arguments of this type.- Specified by:
getNumber
in interfaceExtraArgument
- Returns:
- a positive integer value
-