org.jbpm.pvm.impl
Class VariableScopeIterator

java.lang.Object
  extended by org.jbpm.pvm.impl.ExecutionScopeIterator
      extended by org.jbpm.pvm.impl.VariableScopeIterator
All Implemented Interfaces:
java.util.Iterator<VariableScope>

public class VariableScopeIterator
extends ExecutionScopeIterator
implements java.util.Iterator<VariableScope>

Author:
Tom Baeyens

Field Summary
 
Fields inherited from class org.jbpm.pvm.impl.ExecutionScopeIterator
execution, index, isConsumed, lastConsumedIndex, lastConsumedScopeList, next, scopeList
 
Constructor Summary
VariableScopeIterator(ExecutionImpl execution)
           
VariableScopeIterator(ExecutionImpl execution, java.lang.String key)
           
 
Method Summary
protected  java.util.List getScopeListFromExecution()
           
protected  boolean isWanted(java.lang.Object executionScope)
           
 VariableScope next()
           
 
Methods inherited from class org.jbpm.pvm.impl.ExecutionScopeIterator
hasNext, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, remove
 

Constructor Detail

VariableScopeIterator

public VariableScopeIterator(ExecutionImpl execution)

VariableScopeIterator

public VariableScopeIterator(ExecutionImpl execution,
                             java.lang.String key)
Method Detail

getScopeListFromExecution

protected java.util.List getScopeListFromExecution()
Specified by:
getScopeListFromExecution in class ExecutionScopeIterator

isWanted

protected boolean isWanted(java.lang.Object executionScope)
Specified by:
isWanted in class ExecutionScopeIterator

next

public VariableScope next()
Specified by:
next in interface java.util.Iterator<VariableScope>
Overrides:
next in class ExecutionScopeIterator