protected static class CallbackContext.InheritableBehaviorCommandHook extends Object implements BehaviorCommandHook
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected BehaviorCommandHook |
_originally |
protected BehaviorCommandHook |
_yourHook |
| コンストラクタと説明 |
|---|
InheritableBehaviorCommandHook(BehaviorCommandHook originally,
BehaviorCommandHook yourHook) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
hookBefore(BehaviorCommandMeta meta)
Hook it before the command execution.
|
void |
hookFinally(BehaviorCommandMeta meta,
RuntimeException cause)
Hook it in finally clause after the command execution.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinheritsExistingHookprotected final BehaviorCommandHook _originally
protected final BehaviorCommandHook _yourHook
public InheritableBehaviorCommandHook(BehaviorCommandHook originally, BehaviorCommandHook yourHook)
public void hookBefore(BehaviorCommandMeta meta)
BehaviorCommandHookhookBefore インタフェース内 BehaviorCommandHookmeta - The meta information of the behavior command. (NotNull)public void hookFinally(BehaviorCommandMeta meta, RuntimeException cause)
BehaviorCommandHookhookFinally インタフェース内 BehaviorCommandHookmeta - The meta information of the behavior command. (NotNull)cause - The exception if the behavior command was failed. (NullAllowed)Copyright © 2014–2015 The DBFlute Project. All rights reserved.