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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Durationstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final boolean -
Constructor Summary
ConstructorsConstructorDescriptionBitbucketCloudRepositoryProperties(@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, @NotNull String repositorySlug, @Nullable AuthenticationProperties authenticationProperties, @Nullable AuthenticationProperties checkoutAuthenticationProperties, @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) BitbucketCloudRepositoryProperties(@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, @NotNull String repositorySlug, @Nullable AuthenticationProperties authenticationProperties, @Nullable AuthenticationProperties checkoutAuthenticationProperties, @NotNull String branch, @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) -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties@Nullable AuthenticationProperties@Nullable AuthenticationPropertiescom.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionPropertiesinthashCode()booleanbooleanbooleanisUseLfs()booleanbooleanbooleanbooleanbooleanvoidvalidate()Methods inherited from class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
getDescription, getName, getOid, getParent, getParentName, getProject, getRepositoryViewerProperties, hasParent, humanReadableId, humanReadableType, toIdentifier
-
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
-
-
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:
getAtlassianPluginin classcom.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
-
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() -
isWebhookEnabled
public boolean isWebhookEnabled() -
getVcsChangeDetection
public com.atlassian.bamboo.specs.api.model.repository.VcsChangeDetectionProperties getVcsChangeDetection() -
getRepositorySlug
-
getAuthenticationProperties
-
getCheckoutAuthenticationProperties
-
validate
public void validate()- Specified by:
validatein interfacecom.atlassian.bamboo.specs.api.model.EntityProperties- Overrides:
validatein 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
-