com.x8ing.mc.bp.operation
Class OperationRunningDependentCondition

java.lang.Object
  extended by com.x8ing.mc.bp.operation.OperationRunningDependentCondition
All Implemented Interfaces:
Condition

public class OperationRunningDependentCondition
extends java.lang.Object
implements Condition

This condition depends on the state of the production system, if it's up and running or down with a heavy failure.

Author:
Patrick Heusser

Constructor Summary
OperationRunningDependentCondition(boolean trueIfSystemRunning)
           
 
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

OperationRunningDependentCondition

public OperationRunningDependentCondition(boolean trueIfSystemRunning)
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