org.jbpm.pvm.impl
Class ExecutionScopeIterator

java.lang.Object
  extended by org.jbpm.pvm.impl.ExecutionScopeIterator
Direct Known Subclasses:
VariableScopeIterator

public abstract class ExecutionScopeIterator
extends java.lang.Object

Author:
Tom Baeyens

Field Summary
protected  ExecutionImpl execution
           
protected  int index
           
protected  boolean isConsumed
           
protected  int lastConsumedIndex
           
protected  java.util.List<java.lang.Object> lastConsumedScopeList
           
protected  java.lang.Object next
           
protected  java.util.List<java.lang.Object> scopeList
           
 
Constructor Summary
ExecutionScopeIterator(ExecutionImpl execution)
           
 
Method Summary
protected abstract  java.util.List getScopeListFromExecution()
           
 boolean hasNext()
           
protected abstract  boolean isWanted(java.lang.Object executionScope)
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

execution

protected ExecutionImpl execution

scopeList

protected java.util.List<java.lang.Object> scopeList

index

protected int index

next

protected java.lang.Object next

isConsumed

protected boolean isConsumed

lastConsumedScopeList

protected java.util.List<java.lang.Object> lastConsumedScopeList

lastConsumedIndex

protected int lastConsumedIndex
Constructor Detail

ExecutionScopeIterator

public ExecutionScopeIterator(ExecutionImpl execution)
Method Detail

isWanted

protected abstract boolean isWanted(java.lang.Object executionScope)

getScopeListFromExecution

protected abstract java.util.List getScopeListFromExecution()

hasNext

public boolean hasNext()

next

public java.lang.Object next()

remove

public void remove()