![JAR search and dependency download from the Maven repository](/logo.png)
ee.telekom.workflow.api.DslBranchBlock Maven / Gradle / Ivy
package ee.telekom.workflow.api;
/**
* DSL for workflow definitions.
*
* @author Erko Hansar
* @author Christian Klock
*
* @see WorkflowDefinition
*/
public interface DslBranchBlock extends DslBlock>{
/**
* Used inside split branches to cancel all other ongoing branches in this block, but the calling branch continues with it's normal operations.
*
* @param id node id
*/
DslBranchBlock escalate( int id );
/**
* Add a branch (parallel execution flow) into the active split.
*/
DslBranchBlock branch();
/**
* Add a conditional branch (parallel execution flow) into the active split. Executed only if the condition evaluates to true.
*
* @param condition expression language condition ("EL_EXPRESSION")
*/
DslBranchBlock branch( String condition );
/**
* Block end tag, listens for the FIRST arriving branch, immediately cancels all the other ongoing branches in this block and continues execution
* from after the block.
*/
Level joinFirst();
/**
* Block end tag, listens until ALL started branches have arrived and then continues execution from after the block.
*/
Level joinAll();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy