|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
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.StepExecutorBase
public abstract class StepExecutorBase
Abstract base class for execution of steps within the diagnostics tests.
Nested Class Summary | |
---|---|
static class |
StepExecutorBase.TokenEvaluator
Helper class for evaluating tokens |
static class |
StepExecutorBase.TokenEvaluatorStepOutput
Evaluates tokens of type ${step:[stepname].outputs.[paramname]} |
static class |
StepExecutorBase.TokenEvaluatorTestInput
Evaluates tokens of type ${test.inputs.[paramname]} |
static class |
StepExecutorBase.TokenEvaluatorTestOutput
Evaluates tokens of type ${test.outputs.[paramname]} |
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Field Summary | |
---|---|
protected DiagContextExtn |
mContext
|
protected TestStepType |
mStep
|
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, STEP_REP_NAME_ENGINE_LOG, TOKEN_DELIM, TOKEN_OUTPUTS, TOKEN_STEP, TOKEN_TEST_INPUTS, TOKEN_TEST_OUTPUTS |
Constructor Summary | |
---|---|
StepExecutorBase()
|
Method Summary | |
---|---|
protected void |
completeStep()
Performs any finishing activities to complete the step report. |
void |
execute(TestStepType pStep,
DiagContextExtn pContext)
Executes the given step within the given execution context. |
protected abstract void |
executeStep()
Executes the step definition for this step. |
protected abstract java.lang.String |
getExecutableName()
Gets the name of the executable for this step |
protected abstract java.lang.String |
getExecutableType()
Gets the type of the executable for this step. |
protected static StepExecutorBase.TokenEvaluator |
getTokenEvaluator(java.lang.String pToken,
DiagContextExtn pCtx)
Returns an instance of the Token Evaluator based on the given token. |
protected void |
initializeStep(TestStepType pStep,
DiagContextExtn pContext)
Initializes the execution of the step. |
protected void |
initializeStepReport()
Initializes the step report for this step. |
protected void |
prepareContextForStepExecution()
Prepares the context for step execution. |
protected void |
resolveParameterBindings()
Resolves parameter bindings if any are defined in the step metadata. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TestStepType mStep
protected DiagContextExtn mContext
Constructor Detail |
---|
public StepExecutorBase()
Method Detail |
---|
public void execute(TestStepType pStep, DiagContextExtn pContext)
StepExecutor
execute
in interface StepExecutor
pStep
- the diagnostics test step to be executedpContext
- context for the execution.protected void initializeStep(TestStepType pStep, DiagContextExtn pContext)
protected void completeStep()
protected void prepareContextForStepExecution()
protected void resolveParameterBindings()
The bindings that are currently resolved are:
protected void initializeStepReport()
protected abstract void executeStep()
protected abstract java.lang.String getExecutableName()
protected abstract java.lang.String getExecutableType()
protected static StepExecutorBase.TokenEvaluator getTokenEvaluator(java.lang.String pToken, DiagContextExtn pCtx)
pToken
- token to evaluatepCtx
- context of execution
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |