Class BitbucketServerRepositoryProperties

  • All Implemented Interfaces:
    com.atlassian.bamboo.specs.api.model.EntityProperties, com.atlassian.bamboo.specs.api.model.RootEntityProperties

    @Immutable
    public final class BitbucketServerRepositoryProperties
    extends com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
    • Constructor Summary

      Constructors 
      Constructor Description
      BitbucketServerRepositoryProperties​(@Nullable java.lang.String name, @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @Nullable java.lang.String description, @Nullable java.lang.String parent, @Nullable com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable com.atlassian.bamboo.specs.api.model.applink.ApplicationLinkProperties server, @Nullable java.lang.String projectKey, @Nullable java.lang.String repositorySlug, @Nullable java.lang.String sshPublicKey, @Nullable java.lang.String sshPrivateKey, @Nullable java.lang.String sshCloneUrl, @Nullable java.lang.String branch, @Nullable com.atlassian.bamboo.specs.api.model.project.ProjectProperties project, @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull java.time.Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, @Nullable BitbucketServerMirrorProperties mirror)  
      BitbucketServerRepositoryProperties​(@Nullable java.lang.String name, @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @Nullable java.lang.String description, @Nullable java.lang.String parent, @Nullable com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable com.atlassian.bamboo.specs.api.model.applink.ApplicationLinkProperties server, @Nullable java.lang.String projectKey, @Nullable java.lang.String repositorySlug, @Nullable java.lang.String sshPublicKey, @Nullable java.lang.String sshPrivateKey, @Nullable java.lang.String sshCloneUrl, @Nullable java.lang.String branch, @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull java.time.Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, @Nullable BitbucketServerMirrorProperties mirror)  
    • Constructor Detail

      • BitbucketServerRepositoryProperties

        public BitbucketServerRepositoryProperties​(@Nullable
                                                   @Nullable java.lang.String name,
                                                   @Nullable
                                                   @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid,
                                                   @Nullable
                                                   @Nullable java.lang.String description,
                                                   @Nullable
                                                   @Nullable java.lang.String parent,
                                                   @Nullable
                                                   @Nullable com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties repositoryViewerProperties,
                                                   @Nullable
                                                   @Nullable com.atlassian.bamboo.specs.api.model.applink.ApplicationLinkProperties server,
                                                   @Nullable
                                                   @Nullable java.lang.String projectKey,
                                                   @Nullable
                                                   @Nullable java.lang.String repositorySlug,
                                                   @Nullable
                                                   @Nullable java.lang.String sshPublicKey,
                                                   @Nullable
                                                   @Nullable java.lang.String sshPrivateKey,
                                                   @Nullable
                                                   @Nullable java.lang.String sshCloneUrl,
                                                   @Nullable
                                                   @Nullable java.lang.String branch,
                                                   @Nullable
                                                   @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties vcsChangeDetection,
                                                   boolean useShallowClones,
                                                   boolean useRemoteAgentCache,
                                                   boolean useSubmodules,
                                                   boolean sshKeyAppliesToSubmodules,
                                                   @NotNull
                                                   @NotNull java.time.Duration commandTimeout,
                                                   boolean verboseLogs,
                                                   boolean fetchWholeRepository,
                                                   boolean useLfs,
                                                   @Nullable
                                                   @Nullable BitbucketServerMirrorProperties mirror)
                                            throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
        Throws:
        com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
      • BitbucketServerRepositoryProperties

        public BitbucketServerRepositoryProperties​(@Nullable
                                                   @Nullable java.lang.String name,
                                                   @Nullable
                                                   @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid,
                                                   @Nullable
                                                   @Nullable java.lang.String description,
                                                   @Nullable
                                                   @Nullable java.lang.String parent,
                                                   @Nullable
                                                   @Nullable com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties repositoryViewerProperties,
                                                   @Nullable
                                                   @Nullable com.atlassian.bamboo.specs.api.model.applink.ApplicationLinkProperties server,
                                                   @Nullable
                                                   @Nullable java.lang.String projectKey,
                                                   @Nullable
                                                   @Nullable java.lang.String repositorySlug,
                                                   @Nullable
                                                   @Nullable java.lang.String sshPublicKey,
                                                   @Nullable
                                                   @Nullable java.lang.String sshPrivateKey,
                                                   @Nullable
                                                   @Nullable java.lang.String sshCloneUrl,
                                                   @Nullable
                                                   @Nullable java.lang.String branch,
                                                   @Nullable
                                                   @Nullable com.atlassian.bamboo.specs.api.model.project.ProjectProperties project,
                                                   @Nullable
                                                   @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties vcsChangeDetection,
                                                   boolean useShallowClones,
                                                   boolean useRemoteAgentCache,
                                                   boolean useSubmodules,
                                                   boolean sshKeyAppliesToSubmodules,
                                                   @NotNull
                                                   @NotNull java.time.Duration commandTimeout,
                                                   boolean verboseLogs,
                                                   boolean fetchWholeRepository,
                                                   boolean useLfs,
                                                   @Nullable
                                                   @Nullable BitbucketServerMirrorProperties mirror)
                                            throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
        Throws:
        com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
    • Method Detail

      • getServer

        @Nullable
        public @Nullable com.atlassian.bamboo.specs.api.model.applink.ApplicationLinkProperties getServer()
      • getProjectKey

        @Nullable
        public @Nullable java.lang.String getProjectKey()
      • getRepositorySlug

        @Nullable
        public @Nullable java.lang.String getRepositorySlug()
      • getSshPublicKey

        @Nullable
        public @Nullable java.lang.String getSshPublicKey()
      • getSshPrivateKey

        @Nullable
        public @Nullable java.lang.String getSshPrivateKey()
      • getSshCloneUrl

        public java.lang.String getSshCloneUrl()
      • getBranch

        @Nullable
        public @Nullable java.lang.String getBranch()
      • isUseShallowClones

        public boolean isUseShallowClones()
      • isUseRemoteAgentCache

        public boolean isUseRemoteAgentCache()
      • isUseSubmodules

        public boolean isUseSubmodules()
      • isSshKeyAppliesToSubmodules

        public boolean isSshKeyAppliesToSubmodules()
      • getCommandTimeout

        @Nullable
        public @Nullable java.time.Duration getCommandTimeout()
      • isVerboseLogs

        public boolean isVerboseLogs()
      • isFetchWholeRepository

        public boolean isFetchWholeRepository()
      • isUseLfs

        public boolean isUseLfs()
      • getVcsChangeDetection

        public com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties getVcsChangeDetection()
      • 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
      • equals

        public boolean equals​(java.lang.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
      • 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