|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.application.startup.CheckDBVersion
public class CheckDBVersion
Verifies database version and some of the important tables. Also fully excercises the object managers.
Constructor Summary | |
---|---|
CheckDBVersion()
|
Method Summary | |
---|---|
ReturnValue |
executeStep(int sequentialStepID)
Executes each step in the task. |
ReturnValue |
executeStepCheckDBVersion()
|
ReturnValue |
exerciseObjectManagers()
Check each and every object manager and session variable. |
XPArrayList |
getMsg(int stepid,
Platform platform,
ReturnValue ret)
Message element. |
StartupTaskMessage[] |
getMsgArray()
|
int |
getNumMsgs()
Message count. |
int |
getNumSteps()
Ideally, the number of steps in a startup task is a fixed static value. |
static int |
GetObjectCount(IPTObjectManager mgr)
Generic object counter by manager |
static java.lang.Object[][] |
GetQueryFilter(int nOperand,
int nOperator,
java.lang.Object objValue)
Returns a simple queryfilter based on three parameters |
int |
getTaskID()
Unique identifier for task. |
java.lang.String |
getTaskName()
Simple text name for task. |
ReturnValue |
init(java.lang.String _strApplicationName)
Does whatever initialization is required by this task in order to determine the number of steps in the task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CheckDBVersion()
Method Detail |
---|
public java.lang.String getTaskName()
IStartupTask
getTaskName
in interface IStartupTask
public int getTaskID()
IStartupTask
getTaskID
in interface IStartupTask
public int getNumSteps()
IStartupTask
getNumSteps
in interface IStartupTask
public ReturnValue init(java.lang.String _strApplicationName)
IStartupTask
init
in interface IStartupTask
public ReturnValue executeStep(int sequentialStepID)
IStartupTask
executeStep
in interface IStartupTask
public ReturnValue executeStepCheckDBVersion()
public ReturnValue exerciseObjectManagers()
sequentialStepID
-
public XPArrayList getMsg(int stepid, Platform platform, ReturnValue ret)
IMessage
getMsg
in interface IMessage
public StartupTaskMessage[] getMsgArray()
getMsgArray
in interface IMessage
public int getNumMsgs()
IMessage
getNumMsgs
in interface IMessage
public static java.lang.Object[][] GetQueryFilter(int nOperand, int nOperator, java.lang.Object objValue)
int
- nOperand - the Plumtree PropID operand (of type PT_PROPIDS)int
- nOperator - the Plumtree Operator (of type PT_FILTEROPS)Object
- objValue - the value to be filtered on (Integer, String, [], etc...)public static int GetObjectCount(IPTObjectManager mgr)
mgr
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |