1 2 package org.state4j.sm; 3 public interface SmGuardCondition { 4 boolean hasTriggerClassName(); 5 6 String getTriggerClassName(); 7 8 void setTriggerClassName(String trigger); 9 10 boolean evaluate(SmContext cntx); 11 12 String getName(); 13 14 void setName(String name); 15 16 boolean hasName(); 17 18 boolean hasEvaluator(); 19 20 SmEvaluator getEvaluator(); 21 22 void setEvaluator(SmEvaluator evaluator); 23 }