org.state4j.sm
Class SmGuardConditionImpl

java.lang.Object
  extended by org.state4j.sm.SmGuardConditionImpl
All Implemented Interfaces:
org.state4j.sm.SmGuardCondition

public class SmGuardConditionImpl
extends java.lang.Object
implements org.state4j.sm.SmGuardCondition


Constructor Summary
SmGuardConditionImpl()
           
 
Method Summary
 boolean evaluate(org.state4j.sm.SmContext cntx)
           
protected  boolean evaluateCondition(org.state4j.sm.SmContext cntx)
           
protected  boolean evaluateTrigger(org.state4j.sm.SmContext cntx)
           
 org.state4j.sm.SmEvaluator getEvaluator()
           
 java.lang.String getName()
           
 java.lang.Class getTriggerClass()
           
 java.lang.String getTriggerClassName()
           
 boolean hasEvaluator()
           
 boolean hasName()
           
 boolean hasTriggerClass()
           
 boolean hasTriggerClassName()
           
 void setEvaluator(org.state4j.sm.SmEvaluator evaluator)
           
 void setName(java.lang.String name)
           
 void setTriggerClassName(java.lang.String trigger)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmGuardConditionImpl

public SmGuardConditionImpl()
Method Detail

setTriggerClassName

public void setTriggerClassName(java.lang.String trigger)
Specified by:
setTriggerClassName in interface org.state4j.sm.SmGuardCondition

getName

public java.lang.String getName()
Specified by:
getName in interface org.state4j.sm.SmGuardCondition

setName

public void setName(java.lang.String name)
Specified by:
setName in interface org.state4j.sm.SmGuardCondition

hasName

public boolean hasName()
Specified by:
hasName in interface org.state4j.sm.SmGuardCondition

evaluate

public boolean evaluate(org.state4j.sm.SmContext cntx)
Specified by:
evaluate in interface org.state4j.sm.SmGuardCondition

evaluateCondition

protected boolean evaluateCondition(org.state4j.sm.SmContext cntx)

evaluateTrigger

protected boolean evaluateTrigger(org.state4j.sm.SmContext cntx)

getTriggerClassName

public java.lang.String getTriggerClassName()
Specified by:
getTriggerClassName in interface org.state4j.sm.SmGuardCondition

hasTriggerClassName

public boolean hasTriggerClassName()
Specified by:
hasTriggerClassName in interface org.state4j.sm.SmGuardCondition

getTriggerClass

public java.lang.Class getTriggerClass()

hasTriggerClass

public boolean hasTriggerClass()

hasEvaluator

public boolean hasEvaluator()
Specified by:
hasEvaluator in interface org.state4j.sm.SmGuardCondition

getEvaluator

public org.state4j.sm.SmEvaluator getEvaluator()
Specified by:
getEvaluator in interface org.state4j.sm.SmGuardCondition

setEvaluator

public void setEvaluator(org.state4j.sm.SmEvaluator evaluator)
Specified by:
setEvaluator in interface org.state4j.sm.SmGuardCondition


Copyright © 2006 . All Rights Reserved.