Class GitHubRepositoryProperties
java.lang.Object
com.atlassian.bamboo.specs.api.model.repository.VcsRepositoryProperties
com.atlassian.bamboo.specs.model.repository.github.GitHubRepositoryProperties
- All Implemented Interfaces:
EntityProperties
,RootEntityProperties
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGitHubRepositoryProperties
(@Nullable String name, @Nullable BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable String repository, @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, String baseUrl, boolean webhookEnabled) GitHubRepositoryProperties
(@Nullable String name, @Nullable BambooOidProperties oid, @Nullable String description, @Nullable String parent, @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable String repository, @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, String baseUrl, boolean webhookEnabled) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable AtlassianModuleProperties
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
-
Field Details
-
DEFAULT_WEBHOOK_ENABLED
public static final boolean DEFAULT_WEBHOOK_ENABLED- See Also:
-
DEFAULT_BASE_URL
- See Also:
-
-
Constructor Details
-
GitHubRepositoryProperties
public GitHubRepositoryProperties(@Nullable @Nullable String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable @Nullable String repository, @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, String baseUrl, boolean webhookEnabled) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
GitHubRepositoryProperties
public GitHubRepositoryProperties(@Nullable @Nullable String name, @Nullable @Nullable BambooOidProperties oid, @Nullable @Nullable String description, @Nullable @Nullable String parent, @Nullable @Nullable VcsRepositoryViewerProperties repositoryViewerProperties, @Nullable @Nullable String repository, @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, String baseUrl, boolean webhookEnabled) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
-
Method Details
-
getRepository
-
getBranch
-
getAuthenticationProperties
-
isUseShallowClones
public boolean isUseShallowClones() -
isUseRemoteAgentCache
public boolean isUseRemoteAgentCache() -
isUseSubmodules
public boolean isUseSubmodules() -
isSshKeyAppliesToSubmodules
public boolean isSshKeyAppliesToSubmodules() -
getCommandTimeout
-
isVerboseLogs
public boolean isVerboseLogs() -
isFetchWholeRepository
public boolean isFetchWholeRepository() -
isUseLfs
public boolean isUseLfs() -
getVcsChangeDetection
-
getBaseUrl
-
isWebhookEnabled
public boolean isWebhookEnabled() -
getAtlassianPlugin
- Specified by:
getAtlassianPlugin
in classVcsRepositoryProperties
-
equals
- Overrides:
equals
in classVcsRepositoryProperties
-
hashCode
public int hashCode()- Overrides:
hashCode
in classVcsRepositoryProperties
-
validate
public void validate()- Specified by:
validate
in interfaceEntityProperties
- Overrides:
validate
in classVcsRepositoryProperties
-