public class NewDraftPageAction extends Object implements StallionRunAction<CommandOptionsBase>
| Constructor and Description |
|---|
NewDraftPageAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(CommandOptionsBase 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.
|
void |
loadApp(CommandOptionsBase options)
Load the application context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSubActionName, newCommandOptionspublic NewDraftPageAction()
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>ExceptionCopyright © 2016. All rights reserved.