|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl<T> oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDoc<TestDef> oracle.apps.fnd.appltest.diagfwk.engine.impl.TestDefImpl
public class TestDefImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.facade.TestTreeNode |
---|
TestTreeNode.NodeType |
Field Summary |
---|
Fields inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDoc |
---|
errMsgOnLoadXML, errMsgOnValXML |
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagImplConstants |
---|
KEY_I_PARAM_DEF_REF, KEY_O_PARAM_DEF_REF, KEY_REF_TEST_DEF_TABLE, KEY_STEP_INPUT_PARAM_SECRET, SECRET_MASK, STEP_REP_EXEC_NAME_ENGINE, TOKEN_DELIM, TOKEN_OUTPUTS, TOKEN_STEP, TOKEN_TEST_INPUTS, TOKEN_TEST_OUTPUTS |
Constructor Summary | |
---|---|
TestDefImpl()
|
Method Summary | |
---|---|
protected void |
addParams(java.util.List pDefList,
TestParamList toList)
Adds parameters from the given List of ParameterDefType objects to the TestParamList |
protected void |
addPrereqs()
Adds prereqs listed in the JAXB metadata to the prereq list in this object |
protected void |
addTagValues()
Adds tag values listed in the JAXB metadata |
TestTreeNode |
asTestTreeNode()
Returns this test definition object as a TestTreeNode instance |
protected void |
checkDependencyCycles()
Checks for cyclic dependency that this test's relations could cause based on the specified ancestors. |
protected void |
checkDependencyCycles(java.util.List<oracle.apps.fnd.appltest.diagfwk.engine.impl.TestDefImpl.DepNode> pAncestorTests,
java.util.List<oracle.apps.fnd.appltest.diagfwk.engine.impl.TestDefImpl.DepNode> pAncestorTagValues,
java.util.Hashtable<java.lang.String,TestDef> pFetched,
java.util.Hashtable<java.lang.String,oracle.apps.fnd.appltest.diagfwk.engine.impl.TestDefImpl.DepNode> pCheckedNodes)
Checks for cyclic dependency that this test's relations could cause based on the specified ancestors. |
protected void |
checkNestedTestRefStepDefs(TestDefList pAncestors,
java.util.Hashtable<java.lang.String,TestDef> pValidated,
java.util.Hashtable<java.lang.String,TestDef> pFetched)
Validates the nested test references if any |
protected void |
checkRequiredParamsHaveValues()
Checks that there are values specified for any required parameters. |
protected void |
checkRunPermission()
Checks to validate that the current user has the permission to run this test. |
protected void |
checkStepDefsLoadable()
Validates that all the step definitions in this tests are loadable. |
protected void |
cleanupTestExecMonitor()
Cleans up the test execution monitor |
protected void |
completeOutputParameters()
Handles: 1) defaulting un-set output parameters that have defaults 2) checking that required outputs are set |
void |
copy(TestDef pObj)
Copies the contents of the given object into this object |
void |
copyAndPopulate(TestDef pObj)
Copies the contents of the given object into this object After copying the TestDef attribtues, the JAXB Tree is populated based on the test metadata. |
void |
copyT(java.lang.Object pObj)
Copies the contents of the given object into this object |
boolean |
delete()
deletes the test and it's associated data from the db deletes parms, inputsets unlinks the tag values, and prereqs from this test |
protected void |
execute()
Prepares context for execution and kicks off execution of the steps in this test. |
protected void |
executeTest()
Starts execution of the various steps defined in this test metadata. |
void |
fetch()
Fetches the test definition from the repository for this test. |
java.util.List<TestParam> |
fetchActiveInputParams()
Fetches the list of active input parameters for this test. |
java.util.List<TestParam> |
fetchActiveOutputParams()
Fetches the list of active output parameters for this test. |
TestInputSetList |
fetchDefaultInputSetList()
Fetches the list of default input sets for this test |
java.util.List<TestParam> |
fetchInputParams()
Fetches the test input parameters metadata from this test. |
TestInputSetList |
fetchInputSetList()
Fetches the list of input sets for this test. |
java.util.List<TestParam> |
fetchOutputParams()
Fetches the test output parameters metadata from this test. |
void |
fetchSummary()
Fetches the test definition summary information only from the repository for this test. |
java.util.List<java.lang.String> |
getAllPrereqTestIds()
Returns the list of all the prerequisite Test IDs for this test. |
java.util.List<TestTreeNode> |
getChildren()
Returns the immediate children for this test tree node. |
java.lang.String |
getDateFormat()
Get the date format string that be used to encode date parameters |
java.lang.String |
getDescription()
Returns the description |
java.lang.String |
getDisplayName()
Returns the display name |
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef |
getErrorMsgOnLoadXmlErr()
Returns an instance of the resource with the error message when there is an failure to load XML using JAXB |
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef |
getErrorMsgOnXmlValErr(int pLine,
int pCol,
java.lang.String pMsg)
Returns an instance of the resource with the error message when there is validation error in the source XML |
java.lang.Boolean |
getExecuteAllowed()
|
java.lang.String |
getExtnName()
Returns the extension name of this test from the test metadata |
java.lang.String |
getImplName()
Gets the implementation name for the node. |
TestParamList |
getInputParamList()
Returns the list of input parameters for this test. |
TestInputSetList |
getInputSetList()
Gets the input set list for this test |
java.lang.String |
getInputsStatus()
Gets the inputs status code for this test. |
protected java.lang.Object |
getJAXBMetadataObj()
Gets the top level JAXB object for the metadata |
protected java.lang.String |
getJAXBPkg()
Gets the JAXB object package for this metadata |
java.lang.String |
getModuleId()
Returns the module ID for the taxonomy module that owns the seed data for this test. |
java.lang.String |
getModuleName()
Returns the module Name for the taxonomy module that owns the seed data for this test. |
java.lang.String |
getNodeDisplayName()
Gets the display name for the node. |
java.lang.String |
getNodeName()
Gets the name of the node. |
boolean |
getNodeSelected()
|
TestTreeNode.NodeType |
getNodeType()
Returns the type of the node i.e. |
int |
getObjectVersionNumber()
Returns the current object version number |
TestParamList |
getOutputParamList()
Returns the list of output parameters for this test. |
TestPrereqList |
getPrereqs()
Returns the list of prerequisite tests or tag values associated with this test. |
int |
getPrereqTestCount()
Gets the prerequisite test count for this test. |
java.util.List<java.lang.String> |
getPrereqTestIdsForIncludes()
Returns only the list of prerequisite Test IDs for any tests that are included in this test (via nested test reference steps). |
java.lang.String |
getRequiresApplicationCode()
Returns the flag indicating whether the diagnostic test will need to access code from within the fusion application. |
java.lang.String |
getSensitivity()
Gets the sensitivity for the test. |
protected static java.lang.String |
getStepDefName(TestStepType pStep)
Returns the event handler definition name for a given event handler. |
TagValueList |
getTagValueList()
Returns the list of tags values associated with this test. |
java.lang.String |
getTestId()
Gets the Test ID |
java.lang.String |
getTestMetadata()
Returns the test metadata XML. |
java.lang.String |
getTestName()
Gets the Test Name |
java.lang.String |
getTestType()
Gets the test type e.g. |
protected static java.lang.String |
getTestTypeCode(java.lang.String pFilePath)
Returns a test type code based on the given file's file type |
java.lang.String |
getUsage()
Returns the usage |
java.lang.String |
getVersion()
Returns the version of this test from the test metadata |
java.lang.Boolean |
getViewReportAllowed()
|
protected java.lang.String |
getXmlSrcFile()
Returns the source file for test definition metadata |
boolean |
hasChildren()
Returns a flag to indicate if this node has any children |
boolean |
hasRequiredInputParams()
This API checks to see if the test has any required input parameters declared in its metadata. |
protected void |
initializeTestExecution()
Performs initialization of the test execution for this test. |
protected oracle.apps.fnd.appltest.diagfwk.engine.impl.TestDefImpl.DepNode |
makeDepNode()
Makes a DepNode instance for this test. |
protected void |
performPostLoad()
Callback hook for performing any post-load operations after loading of a XML document. |
void |
populate(java.lang.String pXMLMetadata)
Populates this object based on the given Test Definition XML metadata String. |
void |
populateFromClass(java.lang.String pJavaClassName)
Populates this object based on the given Test class file. |
void |
populateFromFile(java.lang.String pFilePath)
Populates this object based on the given Test file. |
void |
populateTestAvailabilityInfo(TestAvailabilityInfo pInfo)
Checks the steps of this test, populates test availability information and recursively gathers availability information of nested tests. |
protected void |
postExecute(java.lang.Throwable t)
Performs any post execution activities such as updating status code in the step report, test exec, cleaning up the monitor thread and updating the test stats as well as updating the test run |
protected void |
preExecute(DiagContextExtn pContext)
Performs all pre-execution operations |
java.util.List<TestPrereq> |
queryActivePrereqTests(java.lang.String pTestName)
Queries the list of active prerequisites for the given test |
java.util.List<TagValue> |
queryActiveTagValues(java.lang.String pTestName)
Queries the list of active tag values for the given test |
void |
removeTagValueIdReference(java.lang.String pTagValueId,
boolean pAssocOnly)
Removes the reference to the given tag value ID from this test's definition metadata. |
protected void |
resolvePrereqs()
Resolves the prereq list by setting test IDs for prerequisites that only have test names |
protected void |
resolveTagValues()
Resolves the tag values for this tests for which tagValueId is not yet known. |
TestExec |
run(DiagContextExtn pContext)
Runs the diagnostic test for this test definition based on the information available in the context. |
void |
save()
Saves the in-memory test definition in this object into the test repository. |
void |
saveErrorTestExec(TestRun run,
NameValueList inputs,
oracle.apps.fnd.appllcm.sdk.common.ResourceRef pErrMsg,
java.lang.Throwable t)
Saves a new TestExecution after logging the given exception in it. |
void |
setChildren(java.util.List<TestTreeNode> pChildren)
Sets the list of child nodes for this node. |
void |
setDescription(java.lang.String pDescription)
Sets the description. |
void |
setDisplayName(java.lang.String pDisplayName)
Sets the test display name. |
void |
setExecuteAllowed(java.lang.Boolean pExecuteAllowed)
|
void |
setExtnName(java.lang.String pExtnName)
Sets the ExtnName |
void |
setImplName(java.lang.String pImplName)
Sets the implementation name for this test tree node |
void |
setInputParamList(TestParamList p)
Sets the input parameter list for this test definition. |
void |
setInputSetList(TestInputSetList inputSetList)
Sets the input set list for this test. |
void |
setInputsStatus(java.lang.String inputsStatus)
Sets the inputs status code for this test |
protected void |
setJAXBMetadataObj(java.lang.Object pMd)
Sets the top level JAXB object for the metadata |
protected void |
setJAXBMetadataStr(java.lang.String pXMLStr)
Sets the marshalled XML document for the metadata in String format |
void |
setModuleId(java.lang.String moduleId)
Sets the module ID |
void |
setModuleName(java.lang.String pModuleName)
Sets the module Name |
void |
setNodeDisplayName(java.lang.String pNodeDisplayName)
Sets the display name for the node. |
void |
setNodeName(java.lang.String pName)
Sets the name for this tree node |
void |
setNodeSelected(boolean nodeSelected)
Sets whether a node as being selected in the test tree |
void |
setObjectVersionNumber(int pObjectVersionNumber)
Sets the Object version number. |
void |
setOutputParamList(TestParamList p)
Sets the output parameter list for this test definition. |
void |
setPrereqs(TestPrereqList l)
Sets the test prerequisite list for this test definition. |
void |
setPrereqTestCount(int prereqTestCount)
Sets the prerequisite test count for this test |
void |
setRequiresApplicationCode(java.lang.String pRequiresApplicationCode)
Sets the requiresApplicationCode flag ("Y" or "N") |
void |
setSensitivity(java.lang.String pSensitivity)
Sets the sensitvity. |
void |
setTagValueList(TagValueList l)
Sets the tag value list for this test definition |
void |
setTestId(java.lang.String pTestId)
Sets the test ID. |
void |
setTestMetadata(java.lang.String pTestMetadata)
Sets the test metadata XML. |
void |
setTestName(java.lang.String pTestName)
Sets the test name. |
void |
setTestType(java.lang.String pTestType)
Sets the test type. |
void |
setUsage(java.lang.String pUsage)
Sets the usage. |
void |
setViewReportAllowed(java.lang.Boolean pViewReportAllowed)
|
protected void |
setXmlSrcFile(java.lang.String newxmlSrcFile)
Sets the source file for test definition metadata |
protected void |
updateExecStatus(java.lang.Throwable t)
Updates execution status in the test report, test execution, test run |
void |
validateInputValues(NameValueList pParamList)
Validates the given list of input values for this test against the test's input parameter metadata for data type consistency. |
void |
validatePreRun()
Performs validations required prior to execution of tests. |
protected void |
validatePreRun(TestDefList pAncestors,
java.util.Hashtable<java.lang.String,TestDef> pValidated,
java.util.Hashtable<java.lang.String,TestDef> pFetched,
boolean checkDepCycles)
Performs validation prior to running |
void |
validatePreSave()
Performs validation on the this test definition |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDoc |
---|
getErrMsgOnLoadXML, getErrMsgOnValXML, load, reactToValidationEvents, saveJAXB, saveToFile, setErrMsgOnLoadXML, setErrMsgOnValXML |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl |
---|
copyCommon, getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.DiagBObj |
---|
getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin |
Constructor Detail |
---|
public TestDefImpl()
Method Detail |
---|
public java.lang.String getTestId()
TestDef
getTestId
in interface TestDef
public java.lang.String getTestName()
TestDef
getTestName
in interface TestDef
public java.lang.String getTestType()
TestDef
getTestType
in interface TestDef
public java.lang.String getSensitivity()
TestDef
getSensitivity
in interface TestDef
public java.lang.String getTestMetadata()
TestDef
getTestMetadata
in interface TestDef
public int getObjectVersionNumber()
TestDef
getObjectVersionNumber
in interface TestDef
public java.lang.String getDisplayName()
TestDef
getDisplayName
in interface TestDef
public java.lang.String getDescription()
TestDef
getDescription
in interface TestDef
public java.lang.String getUsage()
TestDef
getUsage
in interface TestDef
public java.lang.String getRequiresApplicationCode()
TestDef
getRequiresApplicationCode
in interface TestDef
public void setTestId(java.lang.String pTestId)
TestDef
setTestId
in interface TestDef
pTestId
- the test IDpublic void setTestName(java.lang.String pTestName)
TestDef
setTestName
in interface TestDef
pTestName
- the test namepublic void setTestType(java.lang.String pTestType)
TestDef
setTestType
in interface TestDef
pTestType
- the test typepublic void setSensitivity(java.lang.String pSensitivity)
TestDef
setSensitivity
in interface TestDef
pSensitivity
- the sensitivitypublic void setTestMetadata(java.lang.String pTestMetadata)
TestDef
setTestMetadata
in interface TestDef
pTestMetadata
- the test metadata XMLpublic void setObjectVersionNumber(int pObjectVersionNumber)
TestDef
setObjectVersionNumber
in interface TestDef
pObjectVersionNumber
- the object version numberpublic void setDisplayName(java.lang.String pDisplayName)
TestDef
setDisplayName
in interface TestDef
pDisplayName
- the display namepublic void setDescription(java.lang.String pDescription)
TestDef
setDescription
in interface TestDef
pDescription
- the descriptionpublic void setUsage(java.lang.String pUsage)
TestDef
setUsage
in interface TestDef
pUsage
- the usagepublic void setRequiresApplicationCode(java.lang.String pRequiresApplicationCode)
TestDef
setRequiresApplicationCode
in interface TestDef
pRequiresApplicationCode
- the flagpublic TestParamList getInputParamList()
TestDef
getInputParamList
in interface TestDef
public TestParamList getOutputParamList()
TestDef
getOutputParamList
in interface TestDef
public TagValueList getTagValueList()
TestDef
getTagValueList
in interface TestDef
public TestPrereqList getPrereqs()
TestDef
getPrereqs
in interface TestDef
public java.lang.Boolean getExecuteAllowed()
getExecuteAllowed
in interface TestTreeNode
getExecuteAllowed
in interface TestDef
public void setExecuteAllowed(java.lang.Boolean pExecuteAllowed)
setExecuteAllowed
in interface TestDef
pExecuteAllowed
- new value of whether execution is allowedpublic java.lang.Boolean getViewReportAllowed()
getViewReportAllowed
in interface TestTreeNode
getViewReportAllowed
in interface TestDef
public void setViewReportAllowed(java.lang.Boolean pViewReportAllowed)
setViewReportAllowed
in interface TestDef
pViewReportAllowed
- new value of whether a test's execution report can
be viewedpublic void save()
TestDef
save
in interface TestDef
public void validatePreSave() throws DiagfwkException
validatePreSave
in interface TestDef
DiagfwkException
- when any validation failure
occurs.public void populate(java.lang.String pXMLMetadata)
TestDef
populate
in interface TestDef
pXMLMetadata
- Test Definition XML metadatapublic void populateFromClass(java.lang.String pJavaClassName)
TestDef
populateFromClass
in interface TestDef
pJavaClassName
- name of the Java test class.public void populateFromFile(java.lang.String pFilePath)
TestDef
populateFromFile
in interface TestDef
pFilePath
- file path for the test file containing
the test metadata definition.public java.lang.String getDateFormat()
TestDef
getDateFormat
in interface TestDef
public java.util.List<TestParam> fetchInputParams()
TestDef
fetchInputParams
in interface TestDef
public java.util.List<TestParam> fetchOutputParams()
TestDef
fetchOutputParams
in interface TestDef
public boolean hasRequiredInputParams()
TestDef
hasRequiredInputParams
in interface TestDef
public java.util.List<TestParam> fetchActiveInputParams()
TestDef
fetchActiveInputParams
in interface TestDef
public java.util.List<TestParam> fetchActiveOutputParams()
TestDef
fetchActiveOutputParams
in interface TestDef
public void fetchSummary()
TestDef
fetchSummary
in interface TestDef
public void fetch()
TestDef
fetch
in interface TestDef
public void copy(TestDef pObj)
TestDef
copy
in interface TestDef
copy
in class DiagBObjImpl<TestDef>
pObj
- the object to copy into this object.public void copyAndPopulate(TestDef pObj)
TestDef
copyAndPopulate
in interface TestDef
pObj
- object to copy into this object.public TestExec run(DiagContextExtn pContext)
TestDef
Status updates are made to the fnd_diag_execution in the test repository periodically using a monitor thread. Additionally, for any test reference steps in this test, new child test executions are spawned.
run
in interface TestDef
pContext
- context for the test execution
protected void postExecute(java.lang.Throwable t)
protected void cleanupTestExecMonitor()
protected void updateExecStatus(java.lang.Throwable t)
t
- protected void preExecute(DiagContextExtn pContext)
pContext
- context for exeuctionprotected void execute()
protected void executeTest()
protected void initializeTestExecution()
protected void completeOutputParameters()
public void saveErrorTestExec(TestRun run, NameValueList inputs, oracle.apps.fnd.appllcm.sdk.common.ResourceRef pErrMsg, java.lang.Throwable t)
TestDef
Caution: This api will overwrite any existing Test Execution in the DB.
saveErrorTestExec
in interface TestDef
run
- the test run to associate the execution withinputs
- the inputs provided for the test. The execution ID is
picked up from this parameter as an internal input.pErrMsg
- the message for the test execution errort
- the exception that occured during execution of this testpublic boolean delete()
delete
in interface TestDef
public void validatePreRun()
validatePreRun
in interface TestDef
protected void validatePreRun(TestDefList pAncestors, java.util.Hashtable<java.lang.String,TestDef> pValidated, java.util.Hashtable<java.lang.String,TestDef> pFetched, boolean checkDepCycles)
pValidated
- pFetched
- checkDepCycles
- protected void checkRequiredParamsHaveValues()
protected void checkRunPermission()
protected void checkStepDefsLoadable()
public void populateTestAvailabilityInfo(TestAvailabilityInfo pInfo)
TestDef
populateTestAvailabilityInfo
in interface TestDef
pInfo
- pass-by-reference value object for gathering test
availability informationprotected void checkNestedTestRefStepDefs(TestDefList pAncestors, java.util.Hashtable<java.lang.String,TestDef> pValidated, java.util.Hashtable<java.lang.String,TestDef> pFetched)
protected void setJAXBMetadataObj(java.lang.Object pMd)
setJAXBMetadataObj
in class DiagJAXBXMLDoc<TestDef>
pMd
- the top level JAXB object for the metadataprotected java.lang.Object getJAXBMetadataObj()
DiagJAXBXMLDoc
getJAXBMetadataObj
in class DiagJAXBXMLDoc<TestDef>
protected void setJAXBMetadataStr(java.lang.String pXMLStr)
DiagJAXBXMLDoc
setJAXBMetadataStr
in class DiagJAXBXMLDoc<TestDef>
pXMLStr
- marshalled XML documentprotected java.lang.String getJAXBPkg()
getJAXBPkg
in class DiagJAXBXMLDoc<TestDef>
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef getErrorMsgOnLoadXmlErr()
getErrorMsgOnLoadXmlErr
in class DiagJAXBXMLDoc<TestDef>
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef getErrorMsgOnXmlValErr(int pLine, int pCol, java.lang.String pMsg)
getErrorMsgOnXmlValErr
in class DiagJAXBXMLDoc<TestDef>
pLine
- line number where the error occurredpCol
- column number where the error occurredpMsg
- validation error message
protected void performPostLoad()
DiagJAXBXMLDoc
performPostLoad
in class DiagJAXBXMLDoc<TestDef>
protected void resolveTagValues() throws DiagfwkException
DiagfwkException
- when one or more unresolvable
tag values exist for this test.protected void addTagValues()
protected void resolvePrereqs()
protected void addPrereqs()
protected void addParams(java.util.List pDefList, TestParamList toList)
protected void setXmlSrcFile(java.lang.String newxmlSrcFile)
newxmlSrcFile
- source file for test definition
metadata.protected java.lang.String getXmlSrcFile()
public java.lang.String getVersion()
getVersion
in interface TestDef
public void validateInputValues(NameValueList pParamList) throws DiagfwkException
TestDef
validateInputValues
in interface TestDef
pParamList
- list of input parameter values to
validate for this test.
DiagfwkException
- when an invalid value is encountered
for a particular input parameter.protected static java.lang.String getStepDefName(TestStepType pStep)
protected static java.lang.String getTestTypeCode(java.lang.String pFilePath)
public void setInputParamList(TestParamList p)
TestDef
setInputParamList
in interface TestDef
p
- input parameter list for this test definitionpublic void setOutputParamList(TestParamList p)
TestDef
setOutputParamList
in interface TestDef
p
- output parameter list for this test definitionpublic void setPrereqs(TestPrereqList l)
TestDef
setPrereqs
in interface TestDef
l
- test prerequisite list for this test definitionpublic void setTagValueList(TagValueList l)
TestDef
setTagValueList
in interface TestDef
l
- tag value list for this test definitionprotected void checkDependencyCycles()
protected void checkDependencyCycles(java.util.List<oracle.apps.fnd.appltest.diagfwk.engine.impl.TestDefImpl.DepNode> pAncestorTests, java.util.List<oracle.apps.fnd.appltest.diagfwk.engine.impl.TestDefImpl.DepNode> pAncestorTagValues, java.util.Hashtable<java.lang.String,TestDef> pFetched, java.util.Hashtable<java.lang.String,oracle.apps.fnd.appltest.diagfwk.engine.impl.TestDefImpl.DepNode> pCheckedNodes)
pAncestorTests
- - Sequential list of ancestors of this test.pAncestorTagValues
- - list of ancestor tag valuespFetched
- - a cache of TestDef objects for which we've already
fetched definitions from the repository.pCheckedNodes
- - a cache of DepNodes that we've already checked.public java.util.List<java.lang.String> getAllPrereqTestIds()
TestDef
getAllPrereqTestIds
in interface TestDef
public java.util.List<java.lang.String> getPrereqTestIdsForIncludes()
TestDef
getPrereqTestIdsForIncludes
in interface TestDef
protected oracle.apps.fnd.appltest.diagfwk.engine.impl.TestDefImpl.DepNode makeDepNode()
public void copyT(java.lang.Object pObj)
DiagBObj
copyT
in interface DiagBObj<TestDef>
pObj
- the contents of the given object into this objectpublic void setPrereqTestCount(int prereqTestCount)
TestDef
setPrereqTestCount
in interface TestDef
prereqTestCount
- the prerequisite test count
for this test.public int getPrereqTestCount()
TestDef
0 - No Prerequisites directly associated with this test
n - Has one or more prerequisites defined (where n is a number greater than 0)
getPrereqTestCount
in interface TestTreeNode
getPrereqTestCount
in interface TestDef
TestDef.getPrereqTestCount()
public void setInputsStatus(java.lang.String inputsStatus)
TestDef
setInputsStatus
in interface TestDef
inputsStatus
- the inputs status code for this
test.public java.lang.String getInputsStatus()
TestDef
The status code describes the state of whether or not the current test has required inputs. Possible values are:
getInputsStatus
in interface TestTreeNode
getInputsStatus
in interface TestDef
TestDef.getInputsStatus()
public java.lang.String getNodeName()
TestTreeNode
getNodeName
in interface TestTreeNode
public java.lang.String getImplName()
TestTreeNode
getImplName
in interface TestTreeNode
public boolean hasChildren()
DiagTreeNode
hasChildren
in interface DiagTreeNode
public java.util.List<TestTreeNode> getChildren()
TestTreeNode
Note: this API will perform a query in order to fetch the children (if not already available).
getChildren
in interface TestTreeNode
public void setNodeName(java.lang.String pName)
TestTreeNode
setNodeName
in interface TestTreeNode
pName
- the name for this tree nodepublic void setImplName(java.lang.String pImplName)
TestTreeNode
setImplName
in interface TestTreeNode
pImplName
- the implementation name for this
test tree node.public void setChildren(java.util.List<TestTreeNode> pChildren)
TestTreeNode
setChildren
in interface TestTreeNode
pChildren
- list of child nodes for this node.public java.util.List<TestPrereq> queryActivePrereqTests(java.lang.String pTestName)
TestDef
queryActivePrereqTests
in interface TestDef
pTestName
- name of the test
public java.util.List<TagValue> queryActiveTagValues(java.lang.String pTestName)
TestDef
queryActiveTagValues
in interface TestDef
pTestName
- name of the test
public java.lang.String getNodeDisplayName()
TestTreeNode
getNodeDisplayName
in interface TestTreeNode
public void setNodeDisplayName(java.lang.String pNodeDisplayName)
TestTreeNode
setNodeDisplayName
in interface TestTreeNode
pNodeDisplayName
- the display name for the nodepublic TestTreeNode.NodeType getNodeType()
TestTreeNode
getNodeType
in interface TestTreeNode
public boolean getNodeSelected()
getNodeSelected
in interface TestTreeNode
public void setNodeSelected(boolean nodeSelected)
TestTreeNode
setNodeSelected
in interface TestTreeNode
public void setInputSetList(TestInputSetList inputSetList)
TestDef
setInputSetList
in interface TestDef
inputSetList
- the input set list for this testpublic TestInputSetList getInputSetList()
TestDef
getInputSetList
in interface TestDef
public TestInputSetList fetchDefaultInputSetList()
TestDef
fetchDefaultInputSetList
in interface TestDef
public TestInputSetList fetchInputSetList()
TestDef
fetchInputSetList
in interface TestDef
public TestTreeNode asTestTreeNode()
TestDef
asTestTreeNode
in interface TestDef
public void setModuleId(java.lang.String moduleId)
TestDef
setModuleId
in interface TestDef
moduleId
- the module IDpublic java.lang.String getModuleId()
TestDef
getModuleId
in interface TestDef
public void removeTagValueIdReference(java.lang.String pTagValueId, boolean pAssocOnly)
TestDef
Removal is performed in the test definition in memory only (i.e. in this object only). The updated definition in memory is not saved to the test repository.
removeTagValueIdReference
in interface TestDef
pTagValueId
- - tag value ID to remove reference of
from this test's metadata.pAssocOnly
- - if true removes only the associations
in tag value list. Otherwise removes the entries from prereq
list as well.public void setExtnName(java.lang.String pExtnName)
TestDef
setExtnName
in interface TestDef
pExtnName
- the extension namepublic java.lang.String getExtnName()
TestDef
getExtnName
in interface TestDef
public java.lang.String getModuleName()
TestDef
getModuleName
in interface TestDef
public void setModuleName(java.lang.String pModuleName)
TestDef
setModuleName
in interface TestDef
pModuleName
- the module name
|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |