Interface PlanExecutionGuard


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

      • 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