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:
EntityProperties,RootEntityProperties
public class BitbucketCloudRepositoryProperties extends VcsRepositoryProperties
-
-
Field Summary
Fields Modifier and Type Field Description static java.time.DurationDEFAULT_COMMAND_TIMEOUTstatic booleanDEFAULT_FETCH_WHOLE_REPOSITORYstatic booleanDEFAULT_LFSstatic booleanDEFAULT_REMOTE_AGENT_CACHEstatic booleanDEFAULT_SHALLOW_CLONESstatic booleanDEFAULT_SSH_KEY_APPLIES_TO_SUBMODULESstatic booleanDEFAULT_USE_SUBMODULESstatic booleanDEFAULT_VERBOSE_LOGSstatic booleanDEFAULT_WEBHOOK_ENABLED
-
Constructor Summary
Constructors Constructor Description BitbucketCloudRepositoryProperties(@Nullable java.lang.String name, @Nullable BambooOidProperties oid, @Nullable java.lang.String description, @Nullable java.lang.String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @NotNull java.lang.String repositorySlug, @Nullable AuthenticationProperties authenticationProperties, @Nullable AuthenticationProperties checkoutAuthenticationProperties, @NotNull java.lang.String branch, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, java.time.Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, boolean webhookEnabled, VcsChangeDetectionProperties vcsChangeDetection)BitbucketCloudRepositoryProperties(@Nullable java.lang.String name, @Nullable BambooOidProperties oid, @Nullable java.lang.String description, @Nullable java.lang.String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @NotNull java.lang.String repositorySlug, @Nullable AuthenticationProperties authenticationProperties, @Nullable AuthenticationProperties checkoutAuthenticationProperties, @NotNull java.lang.String branch, @Nullable ProjectProperties project, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, java.time.Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, boolean webhookEnabled, VcsChangeDetectionProperties vcsChangeDetection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@Nullable AtlassianModulePropertiesgetAtlassianPlugin()@Nullable AuthenticationPropertiesgetAuthenticationProperties()java.lang.StringgetBranch()@Nullable AuthenticationPropertiesgetCheckoutAuthenticationProperties()java.time.DurationgetCommandTimeout()java.lang.StringgetRepositorySlug()VcsChangeDetectionPropertiesgetVcsChangeDetection()inthashCode()booleanisFetchWholeRepository()booleanisSshKeyAppliesToSubmodules()booleanisUseLfs()booleanisUseRemoteAgentCache()booleanisUseShallowClones()booleanisUseSubmodules()booleanisVerboseLogs()booleanisWebhookEnabled()voidvalidate()-
Methods inherited from class com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
getDescription, getName, getOid, getParent, getParentName, getProject, getRepositoryViewerProperties, hasParent, humanReadableId, humanReadableType, toIdentifier
-
-
-
-
Field Detail
-
DEFAULT_USE_SUBMODULES
public static final boolean DEFAULT_USE_SUBMODULES
- See Also:
- Constant Field Values
-
DEFAULT_SSH_KEY_APPLIES_TO_SUBMODULES
public static final boolean DEFAULT_SSH_KEY_APPLIES_TO_SUBMODULES
- See Also:
- Constant Field Values
-
DEFAULT_FETCH_WHOLE_REPOSITORY
public static final boolean DEFAULT_FETCH_WHOLE_REPOSITORY
- See Also:
- Constant Field Values
-
DEFAULT_SHALLOW_CLONES
public static final boolean DEFAULT_SHALLOW_CLONES
- See Also:
- Constant Field Values
-
DEFAULT_LFS
public static final boolean DEFAULT_LFS
- See Also:
- Constant Field Values
-
DEFAULT_REMOTE_AGENT_CACHE
public static final boolean DEFAULT_REMOTE_AGENT_CACHE
- See Also:
- Constant Field Values
-
DEFAULT_VERBOSE_LOGS
public static final boolean DEFAULT_VERBOSE_LOGS
- See Also:
- Constant Field Values
-
DEFAULT_WEBHOOK_ENABLED
public static final boolean DEFAULT_WEBHOOK_ENABLED
- See Also:
- Constant Field Values
-
DEFAULT_COMMAND_TIMEOUT
public static final java.time.Duration DEFAULT_COMMAND_TIMEOUT
-
-
Constructor Detail
-
BitbucketCloudRepositoryProperties
public BitbucketCloudRepositoryProperties(@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, @NotNull @NotNull java.lang.String repositorySlug, @Nullable @Nullable AuthenticationProperties authenticationProperties, @Nullable @Nullable AuthenticationProperties checkoutAuthenticationProperties, @NotNull @NotNull java.lang.String branch, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, java.time.Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, boolean webhookEnabled, VcsChangeDetectionProperties vcsChangeDetection) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
BitbucketCloudRepositoryProperties
public BitbucketCloudRepositoryProperties(@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, @NotNull @NotNull java.lang.String repositorySlug, @Nullable @Nullable AuthenticationProperties authenticationProperties, @Nullable @Nullable AuthenticationProperties checkoutAuthenticationProperties, @NotNull @NotNull java.lang.String branch, @Nullable @Nullable ProjectProperties project, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, java.time.Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, boolean webhookEnabled, VcsChangeDetectionProperties vcsChangeDetection) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
getAtlassianPlugin
@Nullable public @Nullable AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classVcsRepositoryProperties
-
getBranch
public java.lang.String getBranch()
-
isUseShallowClones
public boolean isUseShallowClones()
-
isUseRemoteAgentCache
public boolean isUseRemoteAgentCache()
-
isUseSubmodules
public boolean isUseSubmodules()
-
isSshKeyAppliesToSubmodules
public boolean isSshKeyAppliesToSubmodules()
-
getCommandTimeout
public java.time.Duration getCommandTimeout()
-
isVerboseLogs
public boolean isVerboseLogs()
-
isFetchWholeRepository
public boolean isFetchWholeRepository()
-
isUseLfs
public boolean isUseLfs()
-
isWebhookEnabled
public boolean isWebhookEnabled()
-
getVcsChangeDetection
public VcsChangeDetectionProperties getVcsChangeDetection()
-
getRepositorySlug
public java.lang.String getRepositorySlug()
-
getAuthenticationProperties
@Nullable public @Nullable AuthenticationProperties getAuthenticationProperties()
-
getCheckoutAuthenticationProperties
@Nullable public @Nullable AuthenticationProperties getCheckoutAuthenticationProperties()
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classVcsRepositoryProperties
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classVcsRepositoryProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classVcsRepositoryProperties
-
-