View Javadoc

1   package cz.cuni.amis.pogamut.sposh.ut2004.lib;
2   
3   import cz.cuni.amis.pogamut.sposh.engine.VariableContext;
4   import cz.cuni.amis.pogamut.sposh.executor.IAction;
5   
6   /**
7    * Action that doesn't do anything, always succeeds.
8    * @author Honza H.
9    */
10  public class ActionDoNothing implements IAction {
11  
12      @Override
13      public void init(VariableContext ctx) {
14      }
15  
16      @Override
17      public Object run(VariableContext ctx) {
18          return true;
19      }
20  
21      @Override
22      public void done(VariableContext ctx) {
23      }
24  
25  }