Interface PreChainAction
-
- All Superinterfaces:
BambooPluginModule
@PublicApi public interface PreChainAction extends BambooPluginModule
Custom action that runs before theChain
has started executing- Since:
- 2.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
execute(@NotNull Chain chain, @NotNull ChainExecution chainExecution)
Deprecated.since 7.1 useexecute(ImmutableChain, ChainExecution)
void
execute(@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:
InterruptedException
Exception
-
execute
void execute(@NotNull @NotNull ImmutableChain chain, @NotNull @NotNull ChainExecution chainExecution) throws InterruptedException, Exception
Executes the custom action- Throws:
InterruptedException
Exception
- Since:
- 7.1
-
-