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, waitgetSubActionNamepublic SqlCheckNeedsMigrationAction()
public String getActionName()
StallionRunActiongetActionName in interface StallionRunAction<SqlMigrateCommandOptions>public String getHelp()
StallionRunActiongetHelp in interface StallionRunAction<SqlMigrateCommandOptions>public SqlMigrateCommandOptions newCommandOptions()
StallionRunActionnewCommandOptions in interface StallionRunAction<SqlMigrateCommandOptions>public void loadApp(SqlMigrateCommandOptions options)
StallionRunActionloadApp in interface StallionRunAction<SqlMigrateCommandOptions>public void execute(SqlMigrateCommandOptions options) throws Exception
StallionRunActionexecute in interface StallionRunAction<SqlMigrateCommandOptions>ExceptionCopyright © 2016. All rights reserved.