T
- public interface StallionRunAction<T extends CommandOptionsBase>
Modifier and Type | Method and Description |
---|---|
void |
execute(T options)
Actually do the action.
|
String |
getActionName()
The name of the action, will be used on the command line to run the action.
|
String |
getHelp()
A friendly description of what the action does, will be printed on the command-line
when help is asked for.
|
default String |
getSubActionName() |
void |
loadApp(T options)
Load the application context.
|
default <T extends CommandOptionsBase> |
newCommandOptions()
Each action might have its own command-line arguments.
|
String getActionName()
String getHelp()
void loadApp(T options)
options
- default String getSubActionName()
default <T extends CommandOptionsBase> T newCommandOptions()
T
- Copyright © 2016. All rights reserved.