@Immutable public final class GitRepositoryProperties extends VcsRepositoryProperties
Constructor and Description |
---|
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 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 ProjectProperties project,
@Nullable AuthenticationProperties authenticationProperties,
@Nullable VcsChangeDetectionProperties vcsChangeDetection,
boolean useShallowClones,
boolean useRemoteAgentCache,
boolean useSubmodules,
boolean sshKeyAppliesToSubmodules,
@NotNull Duration commandTimeout,
boolean verboseLogs,
boolean fetchWholeRepository,
boolean useLfs) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@Nullable AtlassianModuleProperties |
getAtlassianPlugin() |
@Nullable AuthenticationProperties |
getAuthenticationProperties() |
@Nullable String |
getBranch() |
Duration |
getCommandTimeout() |
@Nullable String |
getUrl() |
@Nullable VcsChangeDetectionProperties |
getVcsChangeDetection() |
int |
hashCode() |
boolean |
isFetchWholeRepository() |
boolean |
isSshKeyAppliesToSubmodules() |
boolean |
isUseLfs() |
boolean |
isUseRemoteAgentCache() |
boolean |
isUseShallowClones() |
boolean |
isUseSubmodules() |
boolean |
isVerboseLogs() |
void |
validate() |
getDescription, getName, getOid, getParent, getParentName, getProject, getRepositoryViewerProperties, hasParent, humanReadableId, humanReadableType, toIdentifier
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 sshKeyAppliesToSubmodules, @NotNull @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs) throws PropertiesValidationException
PropertiesValidationException
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 sshKeyAppliesToSubmodules, @NotNull @NotNull Duration commandTimeout, boolean verboseLogs, boolean fetchWholeRepository, boolean useLfs) throws PropertiesValidationException
PropertiesValidationException
@Nullable public @Nullable AtlassianModuleProperties getAtlassianPlugin()
getAtlassianPlugin
in class VcsRepositoryProperties
@Nullable public @Nullable String getUrl()
@Nullable public @Nullable String getBranch()
@Nullable public @Nullable AuthenticationProperties getAuthenticationProperties()
public boolean isUseShallowClones()
public boolean isUseRemoteAgentCache()
public boolean isUseSubmodules()
public Duration getCommandTimeout()
public boolean isVerboseLogs()
public boolean isFetchWholeRepository()
public boolean isUseLfs()
public boolean isSshKeyAppliesToSubmodules()
@Nullable public @Nullable VcsChangeDetectionProperties getVcsChangeDetection()
public void validate()
validate
in interface EntityProperties
validate
in class VcsRepositoryProperties
public boolean equals(Object o)
equals
in class VcsRepositoryProperties
public int hashCode()
hashCode
in class VcsRepositoryProperties
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.