public class ForceTaskAction extends Object implements StallionRunAction<ForceActionOptions>
Constructor and Description |
---|
ForceTaskAction() |
Modifier and Type | Method and Description |
---|---|
void |
execute(ForceActionOptions 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(ForceActionOptions options)
Load the application context.
|
ForceActionOptions |
newCommandOptions()
Each action might have its own command-line arguments.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSubActionName
public ForceTaskAction()
public String getActionName()
StallionRunAction
getActionName
in interface StallionRunAction<ForceActionOptions>
public String getHelp()
StallionRunAction
getHelp
in interface StallionRunAction<ForceActionOptions>
public void loadApp(ForceActionOptions options)
StallionRunAction
loadApp
in interface StallionRunAction<ForceActionOptions>
public ForceActionOptions newCommandOptions()
StallionRunAction
newCommandOptions
in interface StallionRunAction<ForceActionOptions>
public void execute(ForceActionOptions options) throws Exception
StallionRunAction
execute
in interface StallionRunAction<ForceActionOptions>
Exception
Copyright © 2016. All rights reserved.