Interface BiHookSet.Hook<V,R>

Enclosing class:
BiHookSet<V,R>
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 static interface BiHookSet.Hook<V,R>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hook(V object, R context)
     
  • Method Details

    • hook

      boolean hook(V object, R context) throws HookException
      Parameters:
      object - custom param
      context - custom param
      Returns:
      True if you need to interrupt hook processing False to continue processing hook
      Throws:
      HookException - The hook may return the error text throwing this exception