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 |
---|---|---|
CommandLine.IExecutionStrategy |
CommandLine.getExecutionStrategy() |
Returns the execution strategy used by the
execute method to invoke
the business logic on the user objects of this command and/or the user-specified subcommand(s). |
Modifier and Type | Method | Description |
---|---|---|
CommandLine |
CommandLine.setExecutionStrategy(CommandLine.IExecutionStrategy executionStrategy) |
Sets the execution strategy that the
execute method should use to invoke
the business logic on the user objects of this command and/or the user-specified subcommand(s). |
Copyright © 2017–2019. All rights reserved.