Modifier and Type | Method and Description |
---|---|
CmdLineOptionInstance |
CmdLineArgs.getActionOptionInst() |
CmdLineOptionInstance |
CmdLineArgs.getHelpOptionInst() |
CmdLineOptionInstance |
CmdLineArgs.getPrintSupportedActionsOptionInst() |
Modifier and Type | Method and Description |
---|---|
Set<CmdLineOptionInstance> |
CmdLineArgs.getSpecifiedOptions() |
Modifier and Type | Method and Description |
---|---|
Set<CmdLineOptionInstance> |
StdCmdLineConstructor.construct(CmdLineIterable<ParsedArg> parsedArgs,
Set<CmdLineOption> validOptions) |
Set<CmdLineOptionInstance> |
CmdLineConstructor.construct(CmdLineIterable<ParsedArg> parsedArgs,
Set<CmdLineOption> validOptions) |
Modifier and Type | Method and Description |
---|---|
Set<CmdLineOptionInstance> |
CmdLineOptionInstance.getSubOptions() |
Modifier and Type | Method and Description |
---|---|
void |
CmdLineOptionInstance.addSubOption(CmdLineOptionInstance subOption) |
Modifier and Type | Method and Description |
---|---|
void |
CmdLineOptionInstance.setSubOptions(List<CmdLineOptionInstance> subOptions) |
Modifier and Type | Method and Description |
---|---|
void |
SetJavaPropertiesHandler.handleOption(CmdLineAction selectedAction,
CmdLineOptionInstance optionInstance) |
void |
CmdLineOptionHandler.handleOption(CmdLineAction selectedAction,
CmdLineOptionInstance optionInstance) |
void |
ApplyToActionHandler.handleOption(CmdLineAction action,
CmdLineOptionInstance optionInstance) |
Modifier and Type | Method and Description |
---|---|
CmdLineOptionValidator.Result |
NoRestrictionsCmdLineOptionValidator.validate(CmdLineOptionInstance optionInst) |
CmdLineOptionValidator.Result |
FileExistCmdLineOptionValidator.validate(CmdLineOptionInstance optionInst) |
CmdLineOptionValidator.Result |
CmdLineOptionValidator.validate(CmdLineOptionInstance optionInst)
Throws
CmdLineValidationException if validation fails, otherwise
method just returns. |
CmdLineOptionValidator.Result |
ClassExistsCmdLineOptionValidator.validate(CmdLineOptionInstance optionInst) |
CmdLineOptionValidator.Result |
ArgRegExpCmdLineOptionValidator.validate(CmdLineOptionInstance optionInst) |
CmdLineOptionValidator.Result |
AllowedArgsCmdLineOptionValidator.validate(CmdLineOptionInstance optionInst) |
Modifier and Type | Method and Description |
---|---|
static CmdLineOptionInstance |
CmdLineUtils.findSpecifiedActionOption(Set<CmdLineOptionInstance> options)
|
static CmdLineOptionInstance |
CmdLineUtils.findSpecifiedHelpOption(Set<CmdLineOptionInstance> options)
|
static CmdLineOptionInstance |
CmdLineUtils.findSpecifiedOption(CmdLineOption option,
Set<CmdLineOptionInstance> specifiedOptions)
|
static CmdLineOptionInstance |
CmdLineUtils.findSpecifiedPrintSupportedActionsOption(Set<CmdLineOptionInstance> options)
|
static CmdLineOptionInstance |
CmdLineUtils.getOptionInstanceByName(String optionName,
Set<CmdLineOptionInstance> optionInsts)
Finds
CmdLineOptionInstance whose CmdLineOption 's short
name or long name equals given option name. |
Modifier and Type | Method and Description |
---|---|
static Set<CmdLineOptionInstance> |
CmdLineUtils.findAllOfSpecifiedOption(CmdLineOption option,
Set<CmdLineOptionInstance> specifiedOptions)
|
static Set<CmdLineOptionInstance> |
CmdLineUtils.findPerformAndQuitOptions(Set<CmdLineOptionInstance> options)
Finds all the perform-and-quit type
CmdLineOptionInstance s from
the given Set of CmdLineOptionInstance s. |
Modifier and Type | Method and Description |
---|---|
static CmdLineAction |
CmdLineUtils.findAction(CmdLineOptionInstance actionOption,
Set<CmdLineAction> supportedActions)
Finds the
CmdLineAction specified by the given
CmdLineOptionInstance . |
static void |
CmdLineUtils.handle(CmdLineAction action,
CmdLineOptionInstance option)
Runs the
CmdLineOptionInstance 's handler against the given
CmdLineAction . |
static void |
CmdLineUtils.handlePerformAndQuitOption(CmdLineOptionInstance option)
Runs the
CmdLineOptionInstance 's handler if it a perform and
quit option. |
static List<CmdLineOptionValidator.Result> |
CmdLineUtils.validate(CmdLineOptionInstance option)
Validates the given
CmdLineOptionInstance . |
Modifier and Type | Method and Description |
---|---|
void |
PreconditionInfoHandler.handleOption(CmdLineAction selectedAction,
CmdLineOptionInstance optionInstance) |
void |
CrawlerBeansPropHandler.handleOption(CmdLineAction selectedAction,
CmdLineOptionInstance optionInstance) |
void |
CrawlerActionInfoHandler.handleOption(CmdLineAction selectedAction,
CmdLineOptionInstance optionInstance) |
Copyright © 1999–2017 Apache OODT. All rights reserved.