Interface PlanExecutionGuard


@ExperimentalApi public interface PlanExecutionGuard
Plugin point to implement custom checks that can prevent a plan from executing.
Since:
9.4
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isPermittedToExecute(@NotNull ImmutableChain chain, @NotNull ErrorCollection errorCollection)
    Checks a condition in order to determine if the plan can be executed.
  • Method Details

    • isPermittedToExecute

      boolean isPermittedToExecute(@NotNull @NotNull ImmutableChain chain, @NotNull @NotNull ErrorCollection errorCollection)
      Checks a condition in order to determine if the plan can be executed.
      Parameters:
      chain -
      errorCollection -
      Returns:
      allowedToExecute