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;
}
Aggregations