Class BiHookSet<V,​R>


  • public class BiHookSet<V,​R>
    extends java.lang.Object
    • Constructor Detail

      • BiHookSet

        public BiHookSet()
    • Method Detail

      • unregisterHook

        public boolean unregisterHook​(BiHookSet.Hook<V,​R> hook)
      • hook

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