public abstract class VerifyProcess
extends com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.verify.VerifyProcessSuite or be executed
independently by being set in the portal.properties file. Each of these
processes should not cause any problems if run multiple times.| Modifier and Type | Field and Description |
|---|---|
static int |
ALWAYS |
static int |
NEVER |
static int |
ONCE |
| Constructor and Description |
|---|
VerifyProcess() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doVerify() |
protected void |
doVerify(java.util.Collection<? extends com.liferay.portal.kernel.concurrent.ThrowableAwareRunnable> throwableAwareRunnables) |
protected int |
getBuildNumber() |
protected java.util.Set<java.lang.String> |
getPortalTableNames() |
protected boolean |
isPortalTableName(java.lang.String tableName) |
void |
verify() |
void |
verify(VerifyProcess verifyProcess) |
public static final int ALWAYS
public static final int NEVER
public static final int ONCE
public void verify()
throws VerifyException
VerifyExceptionpublic void verify(VerifyProcess verifyProcess) throws VerifyException
VerifyExceptionprotected void doVerify()
throws java.lang.Exception
java.lang.Exceptionprotected void doVerify(java.util.Collection<? extends com.liferay.portal.kernel.concurrent.ThrowableAwareRunnable> throwableAwareRunnables)
throws java.lang.Exception
java.lang.Exceptionprotected int getBuildNumber()
throws java.lang.Exception
DBUpgrader has a chance to update it to
the value in ReleaseInfo.getBuildNumber()java.lang.Exceptionprotected java.util.Set<java.lang.String> getPortalTableNames()
throws java.lang.Exception
java.lang.Exceptionprotected boolean isPortalTableName(java.lang.String tableName)
throws java.lang.Exception
java.lang.Exception