Class GitPatch.Builder

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

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

    • url

      public GitPatch.Builder url(@Nullable String url)
      Sets URL: The URL of the remote Git repository.
      Parameters:
      url - the value; null sends an explicit null
      Returns:
      this builder
    • deployment

      public GitPatch.Builder deployment(@Nullable String deployment)
      Sets Deployment: The deployment chosen for current Git operations.
      Parameters:
      deployment - the value; null sends an explicit null
      Returns:
      this builder
    • deployedCommit

      public GitPatch.Builder deployedCommit(@Nullable GitCommitPatch deployedCommit)
      Sets DeployedCommit: The last commit of the source that is pulled to the server.
      Parameters:
      deployedCommit - the value; null sends an explicit null
      Returns:
      this builder
    • remote

      public GitPatch.Builder remote(@Nullable GitRemotePatch remote)
      Sets Remote: The information of the remote Git repository.
      Parameters:
      remote - the value; null sends an explicit null
      Returns:
      this builder
    • config

      public GitPatch.Builder config(@Nullable GitConfigurationPatch config)
      Sets Config: The configuration parameters.
      Parameters:
      config - the value; null sends an explicit null
      Returns:
      this builder
    • build

      public GitPatch build()
      The patch, with what's been set so far.
      Returns:
      the patch