|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 |
excerciseObjectManagers()
Check each and every object manager and session variable. |
ReturnValue |
executeStep(int sequentialStepID)
Executes each step in the task. |
ReturnValue |
executeStepCheckDBVersion()
|
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 IStartupTaskpublic int getTaskID()
IStartupTask
getTaskID in interface IStartupTaskpublic int getNumSteps()
IStartupTask
getNumSteps in interface IStartupTaskpublic ReturnValue init(java.lang.String _strApplicationName)
IStartupTask
init in interface IStartupTaskpublic ReturnValue executeStep(int sequentialStepID)
IStartupTask
executeStep in interface IStartupTaskpublic ReturnValue executeStepCheckDBVersion()
public ReturnValue excerciseObjectManagers()
sequentialStepID -
public XPArrayList getMsg(int stepid,
Platform platform,
ReturnValue ret)
IMessage
getMsg in interface IMessagepublic StartupTaskMessage[] getMsgArray()
getMsgArray in interface IMessagepublic 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 | ||||||||