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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Durationstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final boolean -
Constructor Summary
ConstructorsConstructorDescriptionBitbucketCloudRepositoryProperties(@Nullable String name, @Nullable BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @NotNull String repositorySlug, @Nullable AuthenticationProperties authenticationProperties, @Nullable AuthenticationProperties checkoutAuthenticationProperties, @NotNull String branch, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean useSubmodulesWithShallowClones, boolean sshKeyAppliesToSubmodules, Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, boolean webhookEnabled, VcsChangeDetectionProperties vcsChangeDetection) BitbucketCloudRepositoryProperties(@Nullable String name, @Nullable BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @NotNull String repositorySlug, @Nullable AuthenticationProperties authenticationProperties, @Nullable AuthenticationProperties checkoutAuthenticationProperties, @NotNull String branch, @Nullable ProjectProperties project, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean useSubmodulesWithShallowClones, boolean sshKeyAppliesToSubmodules, Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, boolean webhookEnabled, VcsChangeDetectionProperties vcsChangeDetection) -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable AtlassianModuleProperties@Nullable AuthenticationProperties@Nullable AuthenticationPropertiesinthashCode()booleanbooleanbooleanisUseLfs()booleanbooleanbooleanbooleanbooleanbooleanvoidvalidate()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_USE_SUBMODULES_WITH_SHALLOW_CLONES
public static final boolean DEFAULT_USE_SUBMODULES_WITH_SHALLOW_CLONES- 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 BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable 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 useSubmodulesWithShallowClones, boolean sshKeyAppliesToSubmodules, Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, boolean webhookEnabled, VcsChangeDetectionProperties vcsChangeDetection) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
BitbucketCloudRepositoryProperties
public BitbucketCloudRepositoryProperties(@Nullable @Nullable String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @NotNull @NotNull String repositorySlug, @Nullable @Nullable AuthenticationProperties authenticationProperties, @Nullable @Nullable AuthenticationProperties checkoutAuthenticationProperties, @NotNull @NotNull String branch, @Nullable @Nullable ProjectProperties project, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean useSubmodulesWithShallowClones, boolean sshKeyAppliesToSubmodules, Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs, boolean webhookEnabled, VcsChangeDetectionProperties vcsChangeDetection) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
-
Method Details
-
getAtlassianPlugin
- Specified by:
getAtlassianPluginin classVcsRepositoryProperties
-
getBranch
-
isUseShallowClones
public boolean isUseShallowClones() -
isUseRemoteAgentCache
public boolean isUseRemoteAgentCache() -
isUseSubmodules
public boolean isUseSubmodules() -
isUseSubmodulesWithShallowClones
public boolean isUseSubmodulesWithShallowClones() -
isSshKeyAppliesToSubmodules
public boolean isSshKeyAppliesToSubmodules() -
getCommandTimeout
-
isVerboseLogs
public boolean isVerboseLogs() -
isFetchWholeRepository
public boolean isFetchWholeRepository() -
isUseLfs
public boolean isUseLfs() -
isWebhookEnabled
public boolean isWebhookEnabled() -
getVcsChangeDetection
-
getRepositorySlug
-
getAuthenticationProperties
-
getCheckoutAuthenticationProperties
-
validate
public void validate()- Specified by:
validatein interfaceEntityProperties- Overrides:
validatein classVcsRepositoryProperties
-
equals
- Overrides:
equalsin classVcsRepositoryProperties
-
hashCode
public int hashCode()- Overrides:
hashCodein classVcsRepositoryProperties
-