Interface Revision.Builder

    • Method Detail

      • branch

        Revision.Builder branch​(String branch)

        The branch name for a specific revision.

        Parameters:
        branch - The branch name for a specific revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • directory

        Revision.Builder directory​(String directory)

        The directory, if any, for a specific revision.

        Parameters:
        directory - The directory, if any, for a specific revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ownerId

        Revision.Builder ownerId​(String ownerId)

        The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.

        Parameters:
        ownerId - The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • repositoryName

        Revision.Builder repositoryName​(String repositoryName)

        The repository name for a specific revision.

        Parameters:
        repositoryName - The repository name for a specific revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • providerType

        Revision.Builder providerType​(String providerType)

        The provider type for a revision, such as GitHub.

        Parameters:
        providerType - The provider type for a revision, such as GitHub.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProviderType, ProviderType
      • providerType

        Revision.Builder providerType​(ProviderType providerType)

        The provider type for a revision, such as GitHub.

        Parameters:
        providerType - The provider type for a revision, such as GitHub.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProviderType, ProviderType
      • sha

        Revision.Builder sha​(String sha)

        The SHA, such as the commit ID, for a specific revision.

        Parameters:
        sha - The SHA, such as the commit ID, for a specific revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.