We don't really need to keep reference to the verboseArg and the argParser
| | |
| | | */ |
| | | public class DsServiceCliAds implements DsServiceCliSubCommandGroup |
| | | { |
| | | |
| | | /** |
| | | * The subcommand Parser. |
| | | */ |
| | | SubCommandArgumentParser argParser ; |
| | | |
| | | /** |
| | | * The verbose argument. |
| | | */ |
| | | BooleanArgument verboseArg ; |
| | | |
| | | /** |
| | | * The enumeration containing the different subCommand names. |
| | | */ |
| | |
| | | BooleanArgument verboseArg) |
| | | throws ArgumentException |
| | | { |
| | | this.argParser = argParser ; |
| | | this.verboseArg = verboseArg ; |
| | | |
| | | // Create-ads subcommand |
| | | createAdsSubCmd = new SubCommand(argParser, SubCommandNameEnum.CREATE_ADS |
| | | .toString(), true, 1, 1, OPERAND_BACKEND, |