Class GitPullPlanPatch.Builder

java.lang.Object
io.skipcheck.tm1.client.model.GitPlanPatch.Builder
io.skipcheck.tm1.client.model.GitPullPlanPatch.Builder
Enclosing class:
GitPullPlanPatch

public static final class GitPullPlanPatch.Builder extends GitPlanPatch.Builder
Builds a GitPullPlanPatch; each setter replaces what an earlier call set.
  • Method Details

    • id

      public GitPullPlanPatch.Builder id(@Nullable String id)
      Sets ID: The ID of the plan.
      Overrides:
      id in class GitPlanPatch.Builder
      Parameters:
      id - the value; null sends an explicit null
      Returns:
      this builder
    • branch

      public GitPullPlanPatch.Builder branch(@Nullable String branch)
      Sets Branch: The name of the remote branch.
      Overrides:
      branch in class GitPlanPatch.Builder
      Parameters:
      branch - the value; null sends an explicit null
      Returns:
      this builder
    • force

      public GitPullPlanPatch.Builder force(@Nullable Boolean force)
      Sets Force: A flag which is used to evaluate preconditions.
      Overrides:
      force in class GitPlanPatch.Builder
      Parameters:
      force - the value; null sends an explicit null
      Returns:
      this builder
    • commit

      public GitPullPlanPatch.Builder commit(@Nullable GitCommitPatch commit)
      Sets Commit: The Git commit which contains the source.
      Parameters:
      commit - the value; null sends an explicit null
      Returns:
      this builder
    • operations

      public GitPullPlanPatch.Builder operations(@Nullable List<String> operations)
      Sets Operations: The operations that will be performed to read in the resource.
      Parameters:
      operations - the value; null sends an explicit null
      Returns:
      this builder
    • executionMode

      public GitPullPlanPatch.Builder executionMode(@Nullable GitPlanExecutionMode executionMode)
      Sets ExecutionMode: The execution mode of the Git pull plan, that is, single or multiple commit.
      Parameters:
      executionMode - the value; null sends an explicit null
      Returns:
      this builder
    • build

      public GitPullPlanPatch build()
      The patch, with what's been set so far.
      Overrides:
      build in class GitPlanPatch.Builder
      Returns:
      the patch