1 /* 2 * Created on 18-ago-2005 3 * 4 * TODO To change the template for this generated file go to 5 * Window - Preferences - Java - Code Style - Code Templates 6 */ 7 package org.state4j.sm; 8 9 10 /*** 11 * @author andrea 12 * 13 */ 14 public interface SmEngine<T extends SmTarget> { 15 void start(); 16 String getCurrentState(); 17 void fireEvent(SmEvent event); 18 T getTarget(); 19 void setTarget(T target); 20 boolean hasTarget(); 21 }