Interface AgentEventRunFunction

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AgentEventRunFunction
Functional interface for defining the behaviour of a functional agent event.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(AgentContext context)
    Runs the event's behaviour.
  • Method Details

    • run

      void run(AgentContext context)
      Runs the event's behaviour.
      Parameters:
      context - the context the event can use in its behaviour