jadex.rules.eca.IAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-rules-eca Show documentation
Show all versions of jadex-rules-eca Show documentation
Small Java annotation-based event-condition-action rule engine.
package jadex.rules.eca;
import jadex.commons.future.IFuture;
/**
* Interface for the action part of a rule.
*/
public interface IAction
{
/**
* Execute the action.
* @param event The event.
* @param rule The rule this action belongs to.
* @param context The user context.
* @param condresult The condition result.
*/
public IFuture execute(IEvent event, IRule rule, Object context, Object condresult);
}