Interface HookSet.Hook<R>

  • Enclosing class:
    HookSet<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 HookSet.Hook<R>
    • Method Detail

      • hook

        boolean hook​(R context)
              throws HookException
        Parameters:
        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