public interface CommandLineSwitch
Modifier and Type | Method and Description |
---|---|
void |
consumeSwitch(String commandLineSwitch,
String[] followUpArgs)
Consumes the switch.
|
String |
getHelpText()
Gets a help text for this switch.
|
int |
getNumFollowUpArgs()
Gets the number of follow-up args required for this switch.
|
boolean |
supportsSwitch(String commandLineSwitch)
Indicates if this switch supports the provided String switch.
|
boolean supportsSwitch(String commandLineSwitch)
commandLineSwitch
- the command line switchint getNumFollowUpArgs()
void consumeSwitch(String commandLineSwitch, String[] followUpArgs)
commandLineSwitch
- the command line switchfollowUpArgs
- the required follow-up args.String getHelpText()
Copyright © 2012–2019 Drombler. All rights reserved.