ch.tatool.core.element.handler
Class DefaultTrialCountEvaluator

java.lang.Object
  extended by ch.tatool.core.element.AbstractPropertyHolder
      extended by ch.tatool.core.element.NodeImpl
          extended by ch.tatool.core.element.handler.DefaultTrialCountEvaluator
All Implemented Interfaces:
TrialCountEvaluator, PropertyHolder, Node

public class DefaultTrialCountEvaluator
extends NodeImpl
implements TrialCountEvaluator

Default trial count adaptor. Either adds 1 or 0, depending on whether a Result property has been set or not

Author:
Michael Ruflin

Constructor Summary
DefaultTrialCountEvaluator()
           
 
Method Summary
 int getTrialCount(ExecutionContext context)
          Get the count for the current execution context.
 
Methods inherited from class ch.tatool.core.element.NodeImpl
assignParent, assignParent, assignParents, getId, getLocalId, getParent, setId, setLocalId, setParent
 
Methods inherited from class ch.tatool.core.element.AbstractPropertyHolder
clearProperties, getKeys, getProperty, removeProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.tatool.element.Node
getParent, setParent
 
Methods inherited from interface ch.tatool.data.PropertyHolder
clearProperties, getId, getKeys, getProperty, removeProperty, setProperty
 

Constructor Detail

DefaultTrialCountEvaluator

public DefaultTrialCountEvaluator()
Method Detail

getTrialCount

public int getTrialCount(ExecutionContext context)
Description copied from interface: TrialCountEvaluator
Get the count for the current execution context.

Specified by:
getTrialCount in interface TrialCountEvaluator


Copyright © 2012. All Rights Reserved.