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