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 String name, @Nullable BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable ApplicationLinkProperties server, @Nullable String projectKey, @Nullable String repositorySlug, @Nullable String sshPublicKey, @Nullable String sshPrivateKey, @Nullable String sshCloneUrl, @Nullable String branch, @Nullable ProjectProperties project, @Nullable VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, @Nullable BitbucketServerMirrorProperties mirror)BitbucketServerRepositoryProperties(@Nullable String name, @Nullable BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable ApplicationLinkProperties server, @Nullable String projectKey, @Nullable String repositorySlug, @Nullable String sshPublicKey, @Nullable String sshPrivateKey, @Nullable String sshCloneUrl, @Nullable String branch, @Nullable VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull 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(Object o)@Nullable AtlassianModulePropertiesgetAtlassianPlugin()@Nullable StringgetBranch()@Nullable DurationgetCommandTimeout()BitbucketServerMirrorPropertiesgetMirror()@Nullable StringgetProjectKey()@Nullable StringgetRepositorySlug()@Nullable ApplicationLinkPropertiesgetServer()StringgetSshCloneUrl()@Nullable StringgetSshPrivateKey()@Nullable 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 String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable @Nullable ApplicationLinkProperties server, @Nullable @Nullable String projectKey, @Nullable @Nullable String repositorySlug, @Nullable @Nullable String sshPublicKey, @Nullable @Nullable String sshPrivateKey, @Nullable @Nullable String sshCloneUrl, @Nullable @Nullable String branch, @Nullable @Nullable VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, @Nullable @Nullable BitbucketServerMirrorProperties mirror) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
BitbucketServerRepositoryProperties
public BitbucketServerRepositoryProperties(@Nullable @Nullable String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable @Nullable ApplicationLinkProperties server, @Nullable @Nullable String projectKey, @Nullable @Nullable String repositorySlug, @Nullable @Nullable String sshPublicKey, @Nullable @Nullable String sshPrivateKey, @Nullable @Nullable String sshCloneUrl, @Nullable @Nullable String branch, @Nullable @Nullable ProjectProperties project, @Nullable @Nullable VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull @NotNull 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 String getProjectKey()
-
getRepositorySlug
@Nullable public @Nullable String getRepositorySlug()
-
getSshPublicKey
@Nullable public @Nullable String getSshPublicKey()
-
getSshPrivateKey
@Nullable public @Nullable String getSshPrivateKey()
-
getSshCloneUrl
public String getSshCloneUrl()
-
getBranch
@Nullable public @Nullable String getBranch()
-
isUseShallowClones
public boolean isUseShallowClones()
-
isUseRemoteAgentCache
public boolean isUseRemoteAgentCache()
-
isUseSubmodules
public boolean isUseSubmodules()
-
isSshKeyAppliesToSubmodules
public boolean isSshKeyAppliesToSubmodules()
-
getCommandTimeout
@Nullable public @Nullable 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(Object o)
- Overrides:
equalsin classVcsRepositoryProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classVcsRepositoryProperties
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classVcsRepositoryProperties
-
-