Class GitRepositoryProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
-
- com.atlassian.bamboo.specs.model.repository.git.GitRepositoryProperties
-
- All Implemented Interfaces:
EntityProperties,RootEntityProperties
@Immutable public final class GitRepositoryProperties extends VcsRepositoryProperties
-
-
Constructor Summary
Constructors Constructor Description GitRepositoryProperties(@Nullable java.lang.String name, @Nullable BambooOidProperties oid, @Nullable java.lang.String description, @Nullable java.lang.String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable java.lang.String url, @Nullable java.lang.String branch, @Nullable ProjectProperties project, @Nullable AuthenticationProperties authenticationProperties, @Nullable VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull java.time.Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs)GitRepositoryProperties(@Nullable java.lang.String name, @Nullable BambooOidProperties oid, @Nullable java.lang.String description, @Nullable java.lang.String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable java.lang.String url, @Nullable java.lang.String branch, @Nullable AuthenticationProperties authenticationProperties, @Nullable VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull java.time.Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@Nullable AtlassianModulePropertiesgetAtlassianPlugin()@Nullable AuthenticationPropertiesgetAuthenticationProperties()@Nullable java.lang.StringgetBranch()java.time.DurationgetCommandTimeout()@Nullable java.lang.StringgetUrl()@Nullable 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
-
GitRepositoryProperties
public GitRepositoryProperties(@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, @Nullable @Nullable java.lang.String url, @Nullable @Nullable java.lang.String branch, @Nullable @Nullable AuthenticationProperties authenticationProperties, @Nullable @Nullable VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull @NotNull java.time.Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
GitRepositoryProperties
public GitRepositoryProperties(@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, @Nullable @Nullable java.lang.String url, @Nullable @Nullable java.lang.String branch, @Nullable @Nullable ProjectProperties project, @Nullable @Nullable AuthenticationProperties authenticationProperties, @Nullable @Nullable VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean sshKeyAppliesToSubmodules, @NotNull @NotNull java.time.Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
getAtlassianPlugin
@Nullable public @Nullable AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classVcsRepositoryProperties
-
getUrl
@Nullable public @Nullable java.lang.String getUrl()
-
getBranch
@Nullable public @Nullable java.lang.String getBranch()
-
getAuthenticationProperties
@Nullable public @Nullable AuthenticationProperties getAuthenticationProperties()
-
isUseShallowClones
public boolean isUseShallowClones()
-
isUseRemoteAgentCache
public boolean isUseRemoteAgentCache()
-
isUseSubmodules
public boolean isUseSubmodules()
-
getCommandTimeout
public java.time.Duration getCommandTimeout()
-
isVerboseLogs
public boolean isVerboseLogs()
-
isFetchWholeRepository
public boolean isFetchWholeRepository()
-
isUseLfs
public boolean isUseLfs()
-
isSshKeyAppliesToSubmodules
public boolean isSshKeyAppliesToSubmodules()
-
getVcsChangeDetection
@Nullable public @Nullable VcsChangeDetectionProperties getVcsChangeDetection()
-
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
-
-