Class BitbucketSelfHosted

java.lang.Object
cd.go.contrib.plugins.configrepo.groovy.dsl.connection.BitbucketSelfHosted
All Implemented Interfaces:
ConnectionConfig, KeyVal.Mixin, UtilsMixin
Direct Known Subclasses:
Attributes.BitbucketSelfHostedPR

public class BitbucketSelfHosted extends Object implements ConnectionConfig
  • Field Details

    • fullRepoName

      @NotBlank(message="`bitbucketSelfHosted {}` block requires `fullRepoName` (string), set with `fullRepoName = \'workspace/repo\'`") public @NotBlank(message="`bitbucketSelfHosted {}` block requires `fullRepoName` (string), set with `fullRepoName = \'workspace/repo\'`") String fullRepoName
      This is the `{workspace_slug}/{repo_slug}` representing the git repository hosted on BitBucket
    • serverBaseUrl

      @NotBlank(message="`bitbucketSelfHosted {}` block requires `serverBaseUrl` (string), set with `serverBaseUrl = \'https://your.bitbucket.server\'`") public @NotBlank(message="`bitbucketSelfHosted {}` block requires `serverBaseUrl` (string), set with `serverBaseUrl = \'https://your.bitbucket.server\'`") String serverBaseUrl
      This is base URL to the BitBucket server
    • apiAuthToken

      @NotBlank(message="`bitbucketSelfHosted {}` block requires `apiAuthToken` (string), set with `apiAuthToken = lookup(\'my.auth.secret\')`") public @NotBlank(message="`bitbucketSelfHosted {}` block requires `apiAuthToken` (string), set with `apiAuthToken = lookup(\'my.auth.secret\')`") String apiAuthToken
  • Constructor Details

    • BitbucketSelfHosted

      public BitbucketSelfHosted()
    • BitbucketSelfHosted

      public BitbucketSelfHosted(Consumer<BitbucketSelfHosted> config)
  • Method Details

    • type

      public Type type()
      Specified by:
      type in interface ConnectionConfig
    • identifier

      public String identifier()
      Description copied from interface: ConnectionConfig
      An identifier representing this ConnectionConfig. This should be deterministically calculated from the configured fields with the exception of authentication-related fields. Another way to put this is that two ConnectionConfig instances should have equal identifiers if all non-authentication connection details are the same. Identifiers should not be equal if any non-authentication connection details are different.
      Specified by:
      identifier in interface ConnectionConfig
      Returns:
      a String identifier.