01 /*
02 * Created on May 18, 2007
03 */
04 package com.x8ing.lsm4j.std;
05
06 import com.x8ing.lsm4j.Condition;
07 import com.x8ing.lsm4j.StateContext;
08
09 /**
10 * A condition that always returns true.
11 *
12 * @author Patrick Heusser
13 */
14 public class TrueCondition implements Condition {
15
16 public boolean conditionTrue(StateContext currentContext) {
17 return true;
18 }
19
20 public String traceInfo() {
21 return "trueCondition";
22 }
23
24 }
|