All Known Implementing Classes:
ExpressionGuardFactory, TimerWithinGuardFactory, TimerWithinOrMaxCountGuardFactory

public interface GuardFactory
Interface for a factory for Guard instances.
  • Method Details

    • makeGuard

      Guard makeGuard(PatternAgentInstanceContext context, MatchedEventMap beginState, Quitable quitable, Object guardState)
      Constructs a guard instance.
      Parameters:
      context - - services for use by guard
      beginState - - the prior matching events
      quitable - - to use for indicating the guard has quit
      guardState - - state node for guard
      Returns:
      guard instance