public class UserAdder extends Object implements StallionRunAction<CommandOptionsBase>
| Constructor and Description |
|---|
UserAdder() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(CommandOptionsBase options)
Actually do the action.
|
void |
execute(CommandOptionsBase options,
String 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.
|
void |
loadApp(CommandOptionsBase options)
Load the application context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSubActionName, newCommandOptionspublic UserAdder()
public String getActionName()
StallionRunActiongetActionName in interface StallionRunAction<CommandOptionsBase>public String getHelp()
StallionRunActiongetHelp in interface StallionRunAction<CommandOptionsBase>public void loadApp(CommandOptionsBase options)
StallionRunActionloadApp in interface StallionRunAction<CommandOptionsBase>public void execute(CommandOptionsBase options) throws Exception
StallionRunActionexecute in interface StallionRunAction<CommandOptionsBase>Exceptionpublic void execute(CommandOptionsBase options, String action) throws Exception
ExceptionCopyright © 2016. All rights reserved.