Package pro.gravit.utils
Class BiHookSet<V,R>
java.lang.Object
pro.gravit.utils.BiHookSet<V,R>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidregisterHook(BiHookSet.Hook<V, R> hook) booleanunregisterHook(BiHookSet.Hook<V, R> hook)
-
Field Details
-
list
-
-
Constructor Details
-
BiHookSet
public BiHookSet()
-
-
Method Details
-
registerHook
-
unregisterHook
-
hook
- Parameters:
context- custom paramobject- custom param- Returns:
- True if hook to interrupt processing False to continue
- Throws:
HookException- The hook may return the error text throwing this exception
-