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:
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
ConstructorsConstructorDescriptionBitbucketServerRepositoryProperties(@Nullable String name, @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable com.atlassian.bamboo.specs.api.model.applink.ApplicationLinkProperties server, @Nullable String projectKey, @Nullable String repositorySlug, @Nullable String sshPublicKey, @Nullable String sshPrivateKey, @Nullable String sshCloneUrl, @Nullable 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 Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, @Nullable BitbucketServerMirrorProperties mirror) BitbucketServerRepositoryProperties(@Nullable String name, @Nullable com.atlassian.bamboo.specs.api.model.BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable com.atlassian.bamboo.specs.api.model.applink.ApplicationLinkProperties server, @Nullable String projectKey, @Nullable String repositorySlug, @Nullable String sshPublicKey, @Nullable String sshPrivateKey, @Nullable String sshCloneUrl, @Nullable String branch, @Nullable com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, @Nullable BitbucketServerMirrorProperties mirror) -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties@Nullable String@Nullable Duration@Nullable String@Nullable String@Nullable com.atlassian.bamboo.specs.api.model.applink.ApplicationLinkProperties@Nullable String@Nullable Stringcom.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionPropertiesinthashCode()booleanbooleanbooleanisUseLfs()booleanbooleanbooleanbooleanvoidvalidate()Methods inherited from class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
getDescription, getName, getOid, getParent, getParentName, getProject, getRepositoryViewerProperties, hasParent, humanReadableId, humanReadableType, toIdentifier
-
Constructor Details
-
BitbucketServerRepositoryProperties
public BitbucketServerRepositoryProperties(@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, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.applink.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 com.atlassian.bamboo.specs.api.model.repository.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 com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException - Throws:
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
-
BitbucketServerRepositoryProperties
public BitbucketServerRepositoryProperties(@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, @Nullable @Nullable com.atlassian.bamboo.specs.api.model.applink.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 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 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 Details
-
getServer
@Nullable public @Nullable com.atlassian.bamboo.specs.api.model.applink.ApplicationLinkProperties getServer() -
getProjectKey
-
getRepositorySlug
-
getSshPublicKey
-
getSshPrivateKey
-
getSshCloneUrl
-
getBranch
-
isUseShallowClones
public boolean isUseShallowClones() -
isUseRemoteAgentCache
public boolean isUseRemoteAgentCache() -
isUseSubmodules
public boolean isUseSubmodules() -
isSshKeyAppliesToSubmodules
public boolean isSshKeyAppliesToSubmodules() -
getCommandTimeout
-
isVerboseLogs
public boolean isVerboseLogs() -
isFetchWholeRepository
public boolean isFetchWholeRepository() -
isUseLfs
public boolean isUseLfs() -
getVcsChangeDetection
public com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties getVcsChangeDetection() -
getMirror
-
getAtlassianPlugin
@Nullable public @Nullable com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties getAtlassianPlugin()- Specified by:
getAtlassianPluginin classcom.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
-
equals
- Overrides:
equalsin classcom.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
-
validate
public void validate()- Specified by:
validatein interfacecom.atlassian.bamboo.specs.api.model.EntityProperties- Overrides:
validatein classcom.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
-