Interface AgentEventIsTriggeredFunction

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 AgentEventIsTriggeredFunction
Functional interface for defining the trigger condition of a functional agent event.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determines whether the event's trigger condition is met.
  • Method Details

    • isTriggered

      boolean isTriggered(AgentContext context)
      Determines whether the event's trigger condition is met.
      Parameters:
      context - the context the event can use in its trigger logic
      Returns:
      true if the event is triggered, false otherwise