Class BitbucketCloudRepositoryProperties

java.lang.Object
com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
com.atlassian.bamboo.specs.model.repository.bitbucket.cloud.BitbucketCloudRepositoryProperties
All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties, com.atlassian.bamboo.specs.api.model.RootEntityProperties

public class BitbucketCloudRepositoryProperties extends com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
  • Field Details

    • DEFAULT_USE_SUBMODULES

      public static final boolean DEFAULT_USE_SUBMODULES
      See Also:
    • DEFAULT_SSH_KEY_APPLIES_TO_SUBMODULES

      public static final boolean DEFAULT_SSH_KEY_APPLIES_TO_SUBMODULES
      See Also:
    • DEFAULT_FETCH_WHOLE_REPOSITORY

      public static final boolean DEFAULT_FETCH_WHOLE_REPOSITORY
      See Also:
    • DEFAULT_SHALLOW_CLONES

      public static final boolean DEFAULT_SHALLOW_CLONES
      See Also:
    • DEFAULT_LFS

      public static final boolean DEFAULT_LFS
      See Also:
    • DEFAULT_REMOTE_AGENT_CACHE

      public static final boolean DEFAULT_REMOTE_AGENT_CACHE
      See Also:
    • DEFAULT_VERBOSE_LOGS

      public static final boolean DEFAULT_VERBOSE_LOGS
      See Also:
    • DEFAULT_WEBHOOK_ENABLED

      public static final boolean DEFAULT_WEBHOOK_ENABLED
      See Also:
    • DEFAULT_COMMAND_TIMEOUT

      public static final Duration DEFAULT_COMMAND_TIMEOUT
  • Constructor Details

    • BitbucketCloudRepositoryProperties

      public BitbucketCloudRepositoryProperties(@Nullable @Nullable String name, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties repositoryViewerProperties, @NotNull @NotNull String repositorySlug, @Nullable @Nullable AuthenticationProperties authenticationProperties, @Nullable @Nullable AuthenticationProperties checkoutAuthenticationProperties, @NotNull @NotNull String branch, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, boolean webhookEnabled, com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties vcsChangeDetection) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
    • BitbucketCloudRepositoryProperties

      public BitbucketCloudRepositoryProperties(@Nullable @Nullable String name, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties repositoryViewerProperties, @NotNull @NotNull String repositorySlug, @Nullable @Nullable AuthenticationProperties authenticationProperties, @Nullable @Nullable AuthenticationProperties checkoutAuthenticationProperties, @NotNull @NotNull String branch, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.project.ProjectProperties project, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, boolean webhookEnabled, com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties vcsChangeDetection) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      Throws:
      com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
  • Method Details

    • getAtlassianPlugin

      @Nullable public @Nullable com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()
      Specified by:
      getAtlassianPlugin in class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
    • getBranch

      public String getBranch()
    • isUseShallowClones

      public boolean isUseShallowClones()
    • isUseRemoteAgentCache

      public boolean isUseRemoteAgentCache()
    • isUseSubmodules

      public boolean isUseSubmodules()
    • isSshKeyAppliesToSubmodules

      public boolean isSshKeyAppliesToSubmodules()
    • getCommandTimeout

      public Duration getCommandTimeout()
    • isVerboseLogs

      public boolean isVerboseLogs()
    • isFetchWholeRepository

      public boolean isFetchWholeRepository()
    • isUseLfs

      public boolean isUseLfs()
    • isWebhookEnabled

      public boolean isWebhookEnabled()
    • getVcsChangeDetection

      public com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties getVcsChangeDetection()
    • getRepositorySlug

      public String getRepositorySlug()
    • getAuthenticationProperties

      @Nullable public @Nullable AuthenticationProperties getAuthenticationProperties()
    • getCheckoutAuthenticationProperties

      @Nullable public @Nullable AuthenticationProperties getCheckoutAuthenticationProperties()
    • validate

      public void validate()
      Specified by:
      validate in interface com.atlassian.bamboo.specs.api.model.EntityProperties
      Overrides:
      validate in class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties