Package jadex.rules.eca
Class CommandCondition
- java.lang.Object
- 
- jadex.rules.eca.CommandCondition
 
- 
- All Implemented Interfaces:
- ICondition
 
 public class CommandCondition extends java.lang.Object implements ICondition Command version of the condition.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IResultCommand<java.lang.Boolean,IEvent>commandThe command.- 
Fields inherited from interface jadex.rules.eca.IConditionFALSE, TRUE, TRUE_CONDITION
 
- 
 - 
Constructor SummaryConstructors Constructor Description CommandCondition(IResultCommand<java.lang.Boolean,IEvent> command)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<Tuple2<java.lang.Boolean,java.lang.Object>>evaluate(IEvent event)Evaluation the condition.static IFuture<Tuple2<java.lang.Boolean,java.lang.Object>>evaluateResult(java.lang.Object res)
 
- 
- 
- 
Field Detail- 
commandprotected IResultCommand<java.lang.Boolean,IEvent> command The command.
 
- 
 - 
Constructor Detail- 
CommandConditionpublic CommandCondition(IResultCommand<java.lang.Boolean,IEvent> command) 
 
- 
 - 
Method Detail- 
evaluatepublic IFuture<Tuple2<java.lang.Boolean,java.lang.Object>> evaluate(IEvent event) Description copied from interface:IConditionEvaluation the condition.- Specified by:
- evaluatein interface- ICondition
- Parameters:
- event- The event.
- Returns:
- True, if condition is met (plus additional user data).
 
 
- 
 
-