Modifier and Type | Class | Description |
---|---|---|
static class |
CommandLine.AbstractParseResultHandler<R> |
|
static class |
CommandLine.RunAll |
Command line execution strategy that prints help if requested, and otherwise executes the top-level command and
all subcommands as
Runnable , Callable or Method . |
static class |
CommandLine.RunFirst |
Command line execution strategy that prints help if requested, and otherwise executes the top-level
Runnable or Callable command. |
static class |
CommandLine.RunLast |
Command line execution strategy that prints help if requested, and otherwise executes the most specific
Runnable or Callable subcommand. |
Modifier and Type | Method | Description |
---|---|---|
<R> R |
CommandLine.parseWithHandler(CommandLine.IParseResultHandler2<R> handler,
String[] args) |
Deprecated.
use
CommandLine.execute(String...) and CommandLine.getExecutionResult() instead |
<R> R |
CommandLine.parseWithHandlers(CommandLine.IParseResultHandler2<R> handler,
CommandLine.IExceptionHandler2<R> exceptionHandler,
String... args) |
Deprecated.
use
CommandLine.execute(String...) and CommandLine.getExecutionResult() instead |
Copyright © 2017–2019. All rights reserved.