Search in sources :

Example 1 with ParallelStep

use of com.twinsoft.convertigo.beans.steps.ParallelStep in project convertigo by convertigo.

the class StepWithExpressions method getStepCopyToExecute.

private Step getStepCopyToExecute(Step step) throws EngineException {
    Step stepToExecute = getStepCopy(step);
    if (stepToExecute != null) {
        stepToExecute.parent = this;
        stepToExecute.transactionContextMaintainer = ((this.parent instanceof ParallelStep) ? this : transactionContextMaintainer);
        stepToExecute.xpathApi = xpathApi;
        stepToExecute.httpState = ((stepToExecute instanceof BranchStep) ? sequence.getNewHttpState() : this.httpState);
        stepToExecute.executedSteps.putAll(executedSteps);
        if (Engine.logBeans.isTraceEnabled())
            Engine.logBeans.trace("(StepWithExpression) " + step + " [" + step.hashCode() + "] has been copied into " + stepToExecute + " [" + stepToExecute.hashCode() + "]");
    }
    return stepToExecute;
}
Also used : ParallelStep(com.twinsoft.convertigo.beans.steps.ParallelStep) BranchStep(com.twinsoft.convertigo.beans.steps.BranchStep) ParallelStep(com.twinsoft.convertigo.beans.steps.ParallelStep) BranchStep(com.twinsoft.convertigo.beans.steps.BranchStep)

Aggregations

BranchStep (com.twinsoft.convertigo.beans.steps.BranchStep)1 ParallelStep (com.twinsoft.convertigo.beans.steps.ParallelStep)1