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, wait
getSubActionName, newCommandOptions
public NewDraftPageAction()
public String getActionName()
StallionRunAction
getActionName
in interface StallionRunAction<CommandOptionsBase>
public String getHelp()
StallionRunAction
getHelp
in interface StallionRunAction<CommandOptionsBase>
public void loadApp(CommandOptionsBase options)
StallionRunAction
loadApp
in interface StallionRunAction<CommandOptionsBase>
public void execute(CommandOptionsBase options) throws Exception
StallionRunAction
execute
in interface StallionRunAction<CommandOptionsBase>
Exception
Copyright © 2016. All rights reserved.