Interface PlanExecutionPermitter

    • Method Detail

      • isPermittedToExecute

        boolean isPermittedToExecute​(@NotNull
                                     @NotNull ImmutableChain chain,
                                     @Nullable
                                     @Nullable PlanResultKey resultKey,
                                     @NotNull
                                     @NotNull ErrorCollection errorCollection)
        Checks a condition in order to determine if the plan can be executed.
        Parameters:
        chain -
        resultKey - key of a result, if it's restarted or continued build
        errorCollection -
        Returns:
        allowedToExecute
      • setChainedExecutionPermitter

        void setChainedExecutionPermitter​(@Nullable
                                          @Nullable PlanExecutionPermitter chainedExecutionPermitter)