org.apache.commons.workflow
Interface Block

All Superinterfaces:
Owner, Step
All Known Subinterfaces:
Iterator
All Known Implementing Classes:
BaseBlock, IfAnyStep, IfNotAnyStep, IfNotStep, IfStep, WhileAnyStep, WhileNotAnyStep, WhileNotStep, WhileStep

public interface Block
extends Owner, Step

A Block is a Step that can include nested Steps. It is used to create Step implementations supporting conditional execution and iteration.

DESIGN NOTES - The execute() method will be called when the Block is first encountered in the normal flow of execution (as with any other Step), and each time the execution of the nested Steps associated with this Block. The Block implementation is responsible for satisfying the following contract requirements:

Version:
$Revision: 155475 $ $Date: 2005-02-26 13:31:11 +0000 (Sat, 26 Feb 2005) $
Author:
Craig R. McClanahan

Method Summary
 
Methods inherited from interface org.apache.commons.workflow.Owner
addStep, clearSteps, findStep, getFirstStep, getLastStep, getSteps, setSteps
 
Methods inherited from interface org.apache.commons.workflow.Step
execute, getId, getNextStep, getOwner, getPreviousStep, setId, setNextStep, setOwner, setPreviousStep
 



Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.