| Constructor and Description |
|---|
DbOffline() |
| Modifier and Type | Method and Description |
|---|---|
static void |
asH2()
Bring up the next EbeanServer instance using the H2 platform.
|
static String |
getPlatform()
Return the platform to use when creating the next EbeanServer instance.
|
static boolean |
isGenerateMigration()
Return true if the migration is running.
|
static boolean |
isSet()
Return true if the offline platform has been set.
|
static void |
reset()
Reset the offline platform and runningMigration flag.
|
static void |
setGenerateMigration()
Called when the migration is running is order to stop other plugins
like the full DDL generation from executing.
|
static void |
setPlatform(DbPlatformName dbPlatform)
Set the platform to use when creating the next EbeanServer instance.
|
static void |
setPlatform(String platformName)
Set the platform to use when creating the next EbeanServer instance.
|
public DbOffline()
public static void setPlatform(DbPlatformName dbPlatform)
public static void setPlatform(String platformName)
public static String getPlatform()
public static void asH2()
public static boolean isSet()
public static boolean isGenerateMigration()
public static void setGenerateMigration()
public static void reset()
Copyright © 2016. All rights reserved.