public class StartupHelper
extends Object
| Constructor and Description |
|---|
StartupHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getUpgradeProcessClassNames(String key) |
boolean |
isDBNew() |
boolean |
isStartupFinished() |
boolean |
isUpgraded() |
boolean |
isUpgrading() |
boolean |
isVerified() |
void |
printPatchLevel() |
void |
setDbNew(boolean dbNew) |
void |
setDropIndexes(boolean dropIndexes) |
void |
setStartupFinished(boolean startupFinished) |
void |
updateIndexes() |
void |
updateIndexes(boolean dropIndexes) |
void |
updateIndexes(com.liferay.portal.kernel.dao.db.DB db,
Connection connection,
boolean dropIndexes) |
void |
upgradeProcess(int buildNumber) |
void |
verifyProcess(boolean verified) |
void |
verifyProcess(boolean newBuildNumber,
boolean verified)
Deprecated.
As of Mueller (7.2.x), replaced by
verifyProcess(boolean) |
void |
verifyRequiredSchemaVersion() |
public boolean isDBNew()
public boolean isStartupFinished()
public boolean isUpgraded()
public boolean isUpgrading()
public boolean isVerified()
public void printPatchLevel()
public void setDbNew(boolean dbNew)
public void setDropIndexes(boolean dropIndexes)
public void setStartupFinished(boolean startupFinished)
public void updateIndexes()
public void updateIndexes(boolean dropIndexes)
public void updateIndexes(com.liferay.portal.kernel.dao.db.DB db,
Connection connection,
boolean dropIndexes)
public void upgradeProcess(int buildNumber)
throws com.liferay.portal.kernel.upgrade.UpgradeException
com.liferay.portal.kernel.upgrade.UpgradeExceptionpublic void verifyProcess(boolean verified)
throws VerifyException
VerifyException@Deprecated
public void verifyProcess(boolean newBuildNumber,
boolean verified)
throws VerifyException
verifyProcess(boolean)VerifyExceptionpublic void verifyRequiredSchemaVersion()
throws Exception
Exceptionprotected String[] getUpgradeProcessClassNames(String key)