ch.tatool.core.element
Class CompoundSelector

java.lang.Object
  extended by ch.tatool.core.element.CompoundSelector
All Implemented Interfaces:
ElementSelector, Initializable, ExecutionPhaseListener

public class CompoundSelector
extends Object
implements ExecutionPhaseListener, ElementSelector, Initializable

Selects the next execution element to execute.


Constructor Summary
CompoundSelector()
           
 
Method Summary
 void initialize(Element element)
           
 boolean isDone()
           
protected  boolean isExecutePrimary()
           
protected  boolean isExecuteSecondary()
           
 void processExecutionPhase(ExecutionContext event)
          Called on phase events.
 boolean selectNextElement(ExecutionContext context)
           
protected  void setDone(boolean done)
           
protected  void setExecutePrimary(boolean executePrimary)
           
protected  void setExecuteSecondary(boolean executeSecondary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundSelector

public CompoundSelector()
Method Detail

isExecutePrimary

protected boolean isExecutePrimary()

isExecuteSecondary

protected boolean isExecuteSecondary()

setExecutePrimary

protected void setExecutePrimary(boolean executePrimary)

setExecuteSecondary

protected void setExecuteSecondary(boolean executeSecondary)

isDone

public boolean isDone()

setDone

protected void setDone(boolean done)

initialize

public void initialize(Element element)
Specified by:
initialize in interface Initializable

selectNextElement

public boolean selectNextElement(ExecutionContext context)
Specified by:
selectNextElement in interface ElementSelector

processExecutionPhase

public void processExecutionPhase(ExecutionContext event)
Called on phase events.

Specified by:
processExecutionPhase in interface ExecutionPhaseListener


Copyright © 2012. All Rights Reserved.