Class BitbucketServerRepositoryProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
-
- com.atlassian.bamboo.specs.model.repository.bitbucket.server.BitbucketServerRepositoryProperties
-
- All Implemented Interfaces:
EntityProperties,RootEntityProperties
@Immutable public final class BitbucketServerRepositoryProperties extends VcsRepositoryProperties
-
-
Constructor Summary
Constructors Constructor Description BitbucketServerRepositoryProperties(@Nullable java.lang.String name, @Nullable BambooOidProperties oid, @Nullable java.lang.String description, @Nullable java.lang.String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable 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 ProjectProperties project, @Nullable 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 BambooOidProperties oid, @Nullable java.lang.String description, @Nullable java.lang.String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable 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 VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull java.time.Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, @Nullable BitbucketServerMirrorProperties mirror)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@Nullable AtlassianModulePropertiesgetAtlassianPlugin()@Nullable java.lang.StringgetBranch()@Nullable java.time.DurationgetCommandTimeout()BitbucketServerMirrorPropertiesgetMirror()@Nullable java.lang.StringgetProjectKey()@Nullable java.lang.StringgetRepositorySlug()@Nullable ApplicationLinkPropertiesgetServer()java.lang.StringgetSshCloneUrl()@Nullable java.lang.StringgetSshPrivateKey()@Nullable java.lang.StringgetSshPublicKey()VcsChangeDetectionPropertiesgetVcsChangeDetection()inthashCode()booleanisFetchWholeRepository()booleanisSshKeyAppliesToSubmodules()booleanisUseLfs()booleanisUseRemoteAgentCache()booleanisUseShallowClones()booleanisUseSubmodules()booleanisVerboseLogs()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
getDescription, getName, getOid, getParent, getParentName, getProject, getRepositoryViewerProperties, hasParent, humanReadableId, humanReadableType, toIdentifier
-
-
-
-
Constructor Detail
-
BitbucketServerRepositoryProperties
public BitbucketServerRepositoryProperties(@Nullable @Nullable java.lang.String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable java.lang.String description, @Nullable @Nullable java.lang.String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable @Nullable 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 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 PropertiesValidationException- Throws:
PropertiesValidationException
-
BitbucketServerRepositoryProperties
public BitbucketServerRepositoryProperties(@Nullable @Nullable java.lang.String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable java.lang.String description, @Nullable @Nullable java.lang.String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable @Nullable 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 ProjectProperties project, @Nullable @Nullable 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 PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
getServer
@Nullable public @Nullable 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 VcsChangeDetectionProperties getVcsChangeDetection()
-
getMirror
public BitbucketServerMirrorProperties getMirror()
-
getAtlassianPlugin
@Nullable public @Nullable AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classVcsRepositoryProperties
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classVcsRepositoryProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classVcsRepositoryProperties
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classVcsRepositoryProperties
-
-