Interface IExternalRepositoryConfiguration

All Known Implementing Classes:
AbstractExternalRepositoryConfiguration

public interface IExternalRepositoryConfiguration
Base interface of configuration classes used by repository providers. All configurable properties must be present as fields (private or public, does not matter), allowed are Strings and booleans, required properties are marked with annotation javax.validation.constraints.NotNull.
  • Method Details

    • getProviderId

      @NotNull String getProviderId()
    • getId

      @NotNull String getId()
    • setId

      void setId(@NotNull String id)
    • getName

      String getName()
    • setName

      void setName(String name)
    • getFullUri

      @NotNull String getFullUri()
      Returns unique URI for repository. Full URL for GitLab, GitHub, Bitbucket, remote svn. File path location for git, local svn.
      Since:
      3.22.1
    • getSecret

      @Nullable String getSecret()
      Returns the secret that's used as the identifier for the webhook on the External Repository Aggregator Service. If the secret matches in the configuration, commits will be available. Can be null if not yet generated in administration.
      Since:
      3.22.1
    • getBranch

      @NotNull String getBranch()
      If value not set, it is an empty String. Used for all providers if using the External Repository Aggregator Service. Used for only BitBucket and GitLab providers if using Direct Polling of external repositories.
      Since:
      3.22.1
    • setBranch

      void setBranch(@NotNull String branch)
      Since:
      3.22.1
    • getDefaultBranch

      @NotNull String getDefaultBranch()
      Returns:
      default branch that other branches will merge to. If value not set, it is an empty String.
      Since:
      3.22.1
    • getBranchFilter

      @NotNull String getBranchFilter()
      Returns:
      Branch filter (uses regular expression). If the repository's branches are matched by the regular expression, these branches will be tracked for Change Traceability.
      Since:
      3.22.1
    • isChangeTraceabilityEnabled

      boolean isChangeTraceabilityEnabled()
      Returns:
      whether Change Traceability is enabled for this repository.
      Since:
      3.22.1