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 Detail

      • hook

        boolean hook​(V object,
                     R context)
              throws HookException
        Parameters:
        context - custom param
        object - 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