Interface EnvironmentRepositorySource.Builder

  • Method Details

    • integrationId

      EnvironmentRepositorySource.Builder integrationId(String integrationId)

      Integration that provides the selected repository.

      Parameters:
      integrationId - Integration that provides the selected repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repository

      Repository selected from that integration in owner/repository form.

      Parameters:
      repository - Repository selected from that integration in owner/repository form.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultBranch

      EnvironmentRepositorySource.Builder defaultBranch(String defaultBranch)

      Branch used when a scan does not choose a more specific revision.

      Parameters:
      defaultBranch - Branch used when a scan does not choose a more specific revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.