Package | Description |
---|---|
org.apache.oodt.cas.cli |
Modifier and Type | Method and Description |
---|---|
CmdLineArgs |
CmdLineUtility.parse(String[] args)
Parses the given command line arguments and converts it to
CmdLineArgs . |
Modifier and Type | Method and Description |
---|---|
static Set<CmdLineOption> |
CmdLineUtility.check(CmdLineArgs cmdLineArgs)
Checks for required options which are not set and returns the ones it
finds.
|
void |
CmdLineUtility.execute(CmdLineArgs cmdLineArgs)
Checks if required options are set and validation passes, then runs
handlers and executes its action.
|
static void |
CmdLineUtility.handle(CmdLineArgs cmdLineArgs)
Runs the
CmdLineOptionHandler s for CmdLineArgs given. |
boolean |
CmdLineUtility.handleHelp(CmdLineArgs cmdLineArgs)
Checks if help option was specified and if so prints out help.
|
boolean |
CmdLineUtility.handlePrintSupportedActions(CmdLineArgs cmdLineArgs)
Checks if print supported actions option was specified and if so prints
out supported actions.
|
void |
CmdLineUtility.printActionHelp(CmdLineArgs cmdLineArgs) |
void |
CmdLineUtility.printActionsHelp(CmdLineArgs cmdLineArgs) |
void |
CmdLineUtility.printOptionHelp(CmdLineArgs cmdLineArgs) |
static List<CmdLineOptionValidator.Result> |
CmdLineUtility.validate(CmdLineArgs cmdLineArgs)
Runs validation on
CmdLineArgs and returns the validation results. |
Copyright © 1999–2017 Apache OODT. All rights reserved.