public abstract class Sequence extends JacobRunnable
Constructor and Description |
---|
Sequence(int steps,
SynchChannel done)
Create a
Sequence with a number of steps. |
Modifier and Type | Method and Description |
---|---|
protected abstract JacobRunnable |
doStep(int step,
SynchChannel done)
Execute a step
|
void |
run()
Process execution block
|
getImplementedMethods, toString
getClassName, getExtension, getMethod, importChannel, instance, newChannel, newChannel, object, object, object, object, replication, replication
public Sequence(int steps, SynchChannel done)
Sequence
with a number of steps.steps
- number of stepsdone
- synchronous callbackpublic void run()
run
in class JacobRunnable
protected abstract JacobRunnable doStep(int step, SynchChannel done)
step
- step numberdone
- notification after step completion