Interface GitConfiguration.Builder

    • Method Detail

      • 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

        GitConfiguration.Builder push​(Collection<GitPushFilter> 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

        GitConfiguration.Builder push​(GitPushFilter... 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.
      • pullRequest

        GitConfiguration.Builder pullRequest​(Collection<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

        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.