Interface HookExecutor

All Known Implementing Classes:
DeclarativeHookExecutor
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 HookExecutor
Executes a hook action with context variables.
Since:
0.2.4
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(HookAction action, Map<String,String> context)
    Execute a hook action with the given context variables.
  • Method Details

    • execute

      void execute(HookAction action, Map<String,String> context)
      Execute a hook action with the given context variables.
      Parameters:
      action - the action to execute
      context - variable substitutions (e.g. "tool" -> tool name)