Interface GitConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<GitConfiguration.Builder,GitConfiguration>, SdkBuilder<GitConfiguration.Builder,GitConfiguration>, SdkPojo
Enclosing class:
GitConfiguration

public static interface GitConfiguration.Builder extends SdkPojo, CopyableBuilder<GitConfiguration.Builder,GitConfiguration>
  • Method Details

    • sourceActionName

      GitConfiguration.Builder sourceActionName(String sourceActionName)

      The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.

      You can only specify one trigger configuration per source action.

      Parameters:
      sourceActionName - The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.

      You can only specify one trigger configuration per source action.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • push

      The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

      Parameters:
      push - The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • push

      The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

      Parameters:
      push - The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • push

      The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

      This is a convenience method that creates an instance of the GitPushFilter.Builder avoiding the need to create one manually via GitPushFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to push(List<GitPushFilter>).

      Parameters:
      push - a consumer that will call methods on GitPushFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pullRequest

      The field where the repository event that will start the pipeline is specified as pull requests.

      Parameters:
      pullRequest - The field where the repository event that will start the pipeline is specified as pull requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pullRequest

      GitConfiguration.Builder pullRequest(GitPullRequestFilter... pullRequest)

      The field where the repository event that will start the pipeline is specified as pull requests.

      Parameters:
      pullRequest - The field where the repository event that will start the pipeline is specified as pull requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pullRequest

      The field where the repository event that will start the pipeline is specified as pull requests.

      This is a convenience method that creates an instance of the GitPullRequestFilter.Builder avoiding the need to create one manually via GitPullRequestFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pullRequest(List<GitPullRequestFilter>).

      Parameters:
      pullRequest - a consumer that will call methods on GitPullRequestFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: