com.x8ing.mc.bp.develop
Class CostLossCheckCondition

java.lang.Object
  extended by com.x8ing.mc.bp.develop.CostLossCheckCondition
All Implemented Interfaces:
Condition

public class CostLossCheckCondition
extends java.lang.Object
implements Condition

Author:
Patrick Heusser

Constructor Summary
CostLossCheckCondition(boolean trueIfLossIsGreaterThen, double triggerValue)
           
 
Method Summary
 boolean conditionTrue(StateContext currentContext)
           
 java.lang.String traceInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CostLossCheckCondition

public CostLossCheckCondition(boolean trueIfLossIsGreaterThen,
                              double triggerValue)
Method Detail

traceInfo

public java.lang.String traceInfo()
Specified by:
traceInfo in interface Condition
See Also:
Condition.traceInfo()

conditionTrue

public boolean conditionTrue(StateContext currentContext)
Specified by:
conditionTrue in interface Condition
See Also:
Condition.conditionTrue(com.x8ing.lsm4j.StateContext)


by Patrick Heusser