Interface GitMetadata.Builder

  • Method Details

    • connectionId

      GitMetadata.Builder connectionId(String connectionId)

      The identifier of the Git connection.

      Parameters:
      connectionId - The identifier of the Git connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repository

      GitMetadata.Builder repository(String repository)

      The name of the Git repository.

      Parameters:
      repository - The name of the Git repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • branch

      GitMetadata.Builder branch(String branch)

      The name of the Git branch.

      Parameters:
      branch - The name of the Git branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commitHash

      GitMetadata.Builder commitHash(String commitHash)

      The commit hash in the Git repository.

      Parameters:
      commitHash - The commit hash in the Git repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileName

      GitMetadata.Builder fileName(String fileName)

      The name of the file in the Git repository.

      Parameters:
      fileName - The name of the file in the Git repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • committedAt

      GitMetadata.Builder committedAt(Instant committedAt)

      The timestamp of when the commit was made.

      Parameters:
      committedAt - The timestamp of when the commit was made.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commitMessage

      GitMetadata.Builder commitMessage(String commitMessage)

      The commit message associated with the Git commit.

      Parameters:
      commitMessage - The commit message associated with the Git commit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.