public abstract class A_OperationStep<RESULT_OBJECT_TYPE> extends java.lang.Object implements I_OperationStep<RESULT_OBJECT_TYPE>
Modifier and Type | Field and Description |
---|---|
private ProtoOperationStepHelper<RESULT_OBJECT_TYPE> |
helper |
private static long |
serialVersionUID
long serialVersionUID
|
Constructor and Description |
---|
A_OperationStep()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doCatch(OperationStepResult<RESULT_OBJECT_TYPE> rst,
OperationContext octx,
java.lang.Object[] o1dArgs,
OperationStepException e)
Performs catching.
|
protected void |
doExecute(OperationStepResult<RESULT_OBJECT_TYPE> rst,
OperationContext octx,
java.lang.Object[] o1dArgs)
Performs executing.
|
protected void |
doPrepare(OperationStepResult<RESULT_OBJECT_TYPE> rst,
OperationContext octx,
java.lang.Object[] o1dArgs)
Performs preparing.
|
OperationStepResult<RESULT_OBJECT_TYPE> |
execute(OperationContext octx,
java.lang.Object[] o1dArgs)
Executes.
|
protected ProtoOperationStepHelper<RESULT_OBJECT_TYPE> |
getHelper()
Gets the step helper.
|
static void |
main(java.lang.String[] strArgs)
Main method, the entrance of embedded test case.
|
protected void |
setHelper(ProtoOperationStepHelper<RESULT_OBJECT_TYPE> helper)
Sets the step helper.
|
private static final long serialVersionUID
private ProtoOperationStepHelper<RESULT_OBJECT_TYPE> helper
public static void main(java.lang.String[] strArgs)
strArgs
- - Command line arguments.protected ProtoOperationStepHelper<RESULT_OBJECT_TYPE> getHelper()
protected void setHelper(ProtoOperationStepHelper<RESULT_OBJECT_TYPE> helper)
helper
- - The step helper.public final OperationStepResult<RESULT_OBJECT_TYPE> execute(OperationContext octx, java.lang.Object[] o1dArgs) throws java.lang.Throwable
I_OperationStep
execute
in interface I_OperationStep<RESULT_OBJECT_TYPE>
octx
- - Operation context. Operation step gets all long time-range
parameters from operation context; puts all result data into
operation context.o1dArgs
- - 1d array of step arguments.java.lang.Throwable
- .I_OperationStep.execute(tfw.base.operation.context.OperationContext,
java.lang.Object[])
protected void doPrepare(OperationStepResult<RESULT_OBJECT_TYPE> rst, OperationContext octx, java.lang.Object[] o1dArgs) throws java.lang.Throwable
rst
- - Operation step result.octx
- - Operation context. Operation step gets all long time-range
parameters from operation context; puts all result data into
operation context.o1dArgs
- - 1d array of step arguments.java.lang.Throwable
- .protected void doExecute(OperationStepResult<RESULT_OBJECT_TYPE> rst, OperationContext octx, java.lang.Object[] o1dArgs) throws java.lang.Throwable
rst
- - Operation step result.octx
- - Operation context. Operation step gets all long time-range
parameters from operation context; puts all result data into
operation context.o1dArgs
- - 1d array of step arguments.java.lang.Throwable
- .protected void doCatch(OperationStepResult<RESULT_OBJECT_TYPE> rst, OperationContext octx, java.lang.Object[] o1dArgs, OperationStepException e)
rst
- - Operation step result.octx
- - Operation context. Operation step gets all long time-range
parameters from operation context; puts all result data into
operation context.o1dArgs
- - 1d array of step arguments.e
- - Operation-step exception.