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 Callable<Void>> callables) |
protected int |
getBuildNumber() |
protected Set<String> |
getPortalTableNames() |
protected boolean |
isForceConcurrent(Collection<? extends Callable<Void>> callables) |
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
VerifyException
public void verify(VerifyProcess verifyProcess) throws VerifyException
VerifyException
protected void doVerify() throws Exception
Exception
protected void doVerify(Collection<? extends Callable<Void>> callables) throws Exception
Exception
protected int getBuildNumber() throws Exception
DBUpgrader
has a chance to update it to
the value in ReleaseInfo.getBuildNumber()
Exception
protected Set<String> getPortalTableNames() throws Exception
Exception
protected boolean isForceConcurrent(Collection<? extends Callable<Void>> callables)
protected boolean isPortalTableName(String tableName) throws Exception
Exception