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