Interface GitLabConfiguration.Builder

  • Method Details

    • instanceUrl

      GitLabConfiguration.Builder instanceUrl(String instanceUrl)

      The HTTPS base URL of the GitLab instance (gitlab.com or self-managed).

      Parameters:
      instanceUrl - The HTTPS base URL of the GitLab instance (gitlab.com or self-managed).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetType

      GitLabConfiguration.Builder targetType(String targetType)

      Whether the integration targets a group or a single project.

      Parameters:
      targetType - Whether the integration targets a group or a single project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetType

      Whether the integration targets a group or a single project.

      Parameters:
      targetType - Whether the integration targets a group or a single project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetPath

      GitLabConfiguration.Builder targetPath(String targetPath)

      The group or project path the integration targets.

      Parameters:
      targetPath - The group or project path the integration targets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessToken

      GitLabConfiguration.Builder accessToken(String accessToken)

      The GitLab access token (personal, group or project). Write-only; not stored or returned after creation. If the token carries the self-rotate scope, rotation is opted in and Continuum manages the token thereafter.

      Parameters:
      accessToken - The GitLab access token (personal, group or project). Write-only; not stored or returned after creation. If the token carries the self-rotate scope, rotation is opted in and Continuum manages the token thereafter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.