Class MethodAction<T>

java.lang.Object
jadex.rules.eca.MethodAction<T>
All Implemented Interfaces:
IAction<T>

public class MethodAction<T> extends Object implements IAction<T>
  • Field Details

    • object

      protected Object object
      The object.
    • method

      protected Method method
      The method.
  • Constructor Details

    • MethodAction

      public MethodAction(Object object, Method method)
  • Method Details

    • execute

      public jadex.future.IFuture<T> execute(IEvent event, IRule rule, Object context, Object condresult)
      Description copied from interface: IAction
      Execute the action.
      Specified by:
      execute in interface IAction<T>
      Parameters:
      event - The event.
      rule - The rule this action belongs to.
      context - The user context.
      condresult - The condition result.