public class BambooSpecsHandlerForGit extends AbstractGitExecutor implements BambooSpecsHandler
buildDirectoryManager, customVariableContext, DEFAULT_BRANCH, i18nResolver, sshProxyService, trustedKeyHelper
BAMBOO_SPECS_DIRECTORY, BAMBOO_YAML_FILES
Constructor and Description |
---|
BambooSpecsHandlerForGit() |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
detectSpecRevision(VcsRepositoryData repositoryData,
Object source) |
List<CommitContext> |
findCommitsToSpecs(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
boolean |
isNewer(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
getAccessData, getCacheDirectory, getCachePath, getGitCapability, getSharedCredentialsIdField, getSshCapability, getSubstitutedAccessData, getSubstitutedAccessDataBuilder, getWorkingDirectory, isUsingSharedCredentials, rethrowOrRemoveDirectory, setBuildDirectoryManager, setCapabilityContext, setCredentialsAccessor, setCustomVariableContext, setI18nResolver, setSshProxyService, setTrustedKeyHelper, substituteString
public Optional<String> detectSpecRevision(@NotNull VcsRepositoryData repositoryData, Object source) throws RepositoryException
detectSpecRevision
in interface BambooSpecsHandler
RepositoryException
public boolean isNewer(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2) throws RepositoryException
isNewer
in interface BambooSpecsHandler
RepositoryException
public List<CommitContext> findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2) throws RepositoryException
findCommitsToSpecs
in interface BambooSpecsHandler
RepositoryException
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.