public class HookRecipientListImpl extends ArrayList<KPMHookRecipient> implements HookRecipientList
modCount
Constructor and Description |
---|
HookRecipientListImpl(@NotNull KPMRegistry registry,
@NotNull HookExecutor executor) |
Modifier and Type | Method and Description |
---|---|
void |
add(@NotNull String className) |
void |
bakeHooks(KPMRegistry registry)
予約クラス名からフックを作成します。
|
void |
runHook(KPMHook hook)
フックを実行します。
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getRegistry
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public HookRecipientListImpl(@NotNull @NotNull KPMRegistry registry, @NotNull @NotNull HookExecutor executor)
public void runHook(KPMHook hook)
HookRecipientList
runHook
in interface HookRecipientList
hook
- フックpublic void add(@NotNull @NotNull String className)
add
in interface HookRecipientList
public void bakeHooks(@Nonnull KPMRegistry registry) throws InvalidInformationFileException
HookRecipientList
bakeHooks
in interface HookRecipientList
registry
- KPM レジストリのインスタンスInvalidInformationFileException
- 予約クラス名が無効な場合Copyright © 2023. All rights reserved.