1 package cz.cuni.amis.pogamut.sposh.executor; 2 3 import cz.cuni.amis.pogamut.sposh.context.Context; 4 import cz.cuni.amis.pogamut.sposh.engine.VariableContext; 5 6 /** 7 * Primitive sense that always fails (returns false) and does nothing else. 8 * 9 * @author Honza 10 */ 11 @PrimitiveInfo(name = "Fail", description = "Return false") 12 public class Fail extends StateSense<Context, Boolean> { 13 14 public Fail(Context ctx) { 15 super(ctx); 16 } 17 18 @Override 19 public Boolean query(VariableContext params) { 20 return false; 21 } 22 }