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
-
Constructor Summary
ConstructorsConstructorDescriptionGitRepositoryProperties
(@Nullable String name, @Nullable BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable String url, @Nullable String branch, @Nullable ProjectProperties project, @Nullable AuthenticationProperties authenticationProperties, @Nullable VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean useSubmodulesWithShallowClones, boolean sshKeyAppliesToSubmodules, @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs) GitRepositoryProperties
(@Nullable String name, @Nullable BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable String url, @Nullable String branch, @Nullable AuthenticationProperties authenticationProperties, @Nullable VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean useSubmodulesWithShallowClones, boolean sshKeyAppliesToSubmodules, @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable AtlassianModuleProperties
@Nullable AuthenticationProperties
@Nullable String
@Nullable String
getUrl()
@Nullable VcsChangeDetectionProperties
int
hashCode()
boolean
boolean
boolean
isUseLfs()
boolean
boolean
boolean
boolean
boolean
void
validate()
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
-
GitRepositoryProperties
public GitRepositoryProperties(@Nullable @Nullable String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable @Nullable String url, @Nullable @Nullable String branch, @Nullable @Nullable AuthenticationProperties authenticationProperties, @Nullable @Nullable VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean useSubmodulesWithShallowClones, boolean sshKeyAppliesToSubmodules, @NotNull @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
GitRepositoryProperties
public GitRepositoryProperties(@Nullable @Nullable String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable @Nullable String url, @Nullable @Nullable String branch, @Nullable @Nullable ProjectProperties project, @Nullable @Nullable AuthenticationProperties authenticationProperties, @Nullable @Nullable VcsChangeDetectionProperties vcsChangeDetection, boolean useShallowClones, boolean useRemoteAgentCache, boolean useSubmodules, boolean useSubmodulesWithShallowClones, boolean sshKeyAppliesToSubmodules, @NotNull @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
-
Method Details
-
getAtlassianPlugin
- Specified by:
getAtlassianPlugin
in classVcsRepositoryProperties
-
getUrl
-
getBranch
-
getAuthenticationProperties
-
isUseShallowClones
public boolean isUseShallowClones() -
isUseRemoteAgentCache
public boolean isUseRemoteAgentCache() -
isUseSubmodules
public boolean isUseSubmodules() -
isUseSubmodulesWithShallowClones
public boolean isUseSubmodulesWithShallowClones() -
getCommandTimeout
-
isVerboseLogs
public boolean isVerboseLogs() -
isFetchWholeRepository
public boolean isFetchWholeRepository() -
isUseLfs
public boolean isUseLfs() -
isSshKeyAppliesToSubmodules
public boolean isSshKeyAppliesToSubmodules() -
getVcsChangeDetection
-
validate
public void validate()- Specified by:
validate
in interfaceEntityProperties
- Overrides:
validate
in classVcsRepositoryProperties
-
equals
- Overrides:
equals
in classVcsRepositoryProperties
-
hashCode
public int hashCode()- Overrides:
hashCode
in classVcsRepositoryProperties
-