Interface PreChainAction
-
- All Superinterfaces:
BambooPluginModule
@PublicApi public interface PreChainAction extends BambooPluginModule
Custom action that runs before theChainhas started executing- Since:
- 2.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidexecute(@NotNull Chain chain, @NotNull ChainExecution chainExecution)Deprecated.since 7.1 useexecute(ImmutableChain, ChainExecution)voidexecute(@NotNull ImmutableChain chain, @NotNull ChainExecution chainExecution)Executes the custom action
-
-
-
Method Detail
-
execute
@Deprecated default void execute(@NotNull @NotNull Chain chain, @NotNull @NotNull ChainExecution chainExecution) throws InterruptedException, Exception
Deprecated.since 7.1 useexecute(ImmutableChain, ChainExecution)Executes the custom action- Throws:
InterruptedExceptionException
-
execute
void execute(@NotNull @NotNull ImmutableChain chain, @NotNull @NotNull ChainExecution chainExecution) throws InterruptedException, ExceptionExecutes the custom action- Throws:
InterruptedExceptionException- Since:
- 7.1
-
-