public abstract class VerifyProcess
extends com.liferay.portal.kernel.dao.db.BaseDBProcess
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(Collection<? extends com.liferay.portal.kernel.concurrent.ThrowableAwareRunnable> throwableAwareRunnables) |
protected int |
getBuildNumber() |
protected Set<String> |
getPortalTableNames() |
protected boolean |
isForceConcurrent(Collection<? extends com.liferay.portal.kernel.concurrent.ThrowableAwareRunnable> throwableAwareRunnables) |
protected boolean |
isPortalTableName(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(Collection<? extends com.liferay.portal.kernel.concurrent.ThrowableAwareRunnable> throwableAwareRunnables) throws Exception
Exceptionprotected int getBuildNumber()
throws Exception
DBUpgrader has a chance to update it to
the value in ReleaseInfo.getBuildNumber()Exceptionprotected boolean isForceConcurrent(Collection<? extends com.liferay.portal.kernel.concurrent.ThrowableAwareRunnable> throwableAwareRunnables)