Uses of Interface
com.atlassian.bamboo.commit.CommitContext
-
-
Uses of CommitContext in com.atlassian.bamboo.commit
Subinterfaces of CommitContext in com.atlassian.bamboo.commit Modifier and Type Interface Description interface
Commit
Interface that represents a single commit set.Classes in com.atlassian.bamboo.commit that implement CommitContext Modifier and Type Class Description class
CommitContextImpl
class
CommitImpl
Methods in com.atlassian.bamboo.commit that return CommitContext Modifier and Type Method Description static CommitContext
CommitPredicates. toForeignCommit(CommitContext commitContext)
Methods in com.atlassian.bamboo.commit with parameters of type CommitContext Modifier and Type Method Description static CommitContextImpl
CommitFunctions. cloneCommit(CommitContext commit)
static boolean
CommitPredicates. isCommitRelevantToBranch(CommitContext commitContext)
static CommitContext
CommitPredicates. toForeignCommit(CommitContext commitContext)
-
Uses of CommitContext in com.atlassian.bamboo.configuration.external
Method parameters in com.atlassian.bamboo.configuration.external with type arguments of type CommitContext Modifier and Type Method Description String
RepositoryStoredSpecsLogService. generateFileName(@NotNull List<? extends CommitContext> commits)
Generate log file name@NotNull String
RepositoryStoredSpecsLogServiceImpl. generateFileName(@NotNull List<? extends CommitContext> commits)
@NotNull String
RepositoryStoredSpecsLogService. getChangeSetForFilename(@NotNull List<? extends CommitContext> commits)
@NotNull String
RepositoryStoredSpecsLogServiceImpl. getChangeSetForFilename(@NotNull List<? extends CommitContext> commits)
void
SpecsConsumer. importPlanProperties(@NotNull SpecsConsumer.PlanPropertiesSupplier topLevelPlanPropertiesSupplier, @NotNull RssPermissions rssPermissions, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull List<CommitContext> commits, @NotNull com.atlassian.utils.process.OutputHandler stdout, @NotNull SpecsType specsType, boolean noChangesInPlanProperties)
Import plan propertiesvoid
SpecsConsumer. onError(@NotNull VcsRepositoryData vcsRepositoryData, @NotNull List<CommitContext> commits, @NotNull VcsBambooSpecsSource specsSource, @NotNull RssPermissions rssPermissions, @NotNull com.atlassian.utils.process.OutputHandler stdout, @NotNull Throwable throwable, @NotNull String logFilename)
Handle problem with specs importvoid
SpecsConsumer. onSuccess(@NotNull VcsRepositoryData vcsRepositoryData, @NotNull List<CommitContext> commits, @NotNull VcsLocationBambooSpecsState specsState, @NotNull RssPermissions rssPermissions, @NotNull VcsLocationBambooSpecsState bambooSpecsState, @NotNull com.atlassian.utils.process.OutputHandler stdout, @NotNull String logFilename)
Handle specs execution successvoid
SpecsConsumer. onYamlValidationError(@NotNull VcsRepositoryData vcsRepositoryData, @NotNull List<CommitContext> commits, @NotNull VcsBambooSpecsSource specsSource, @NotNull RssPermissions rssPermissions, @NotNull com.atlassian.utils.process.OutputHandler stdout, @NotNull Exception throwable, @NotNull String logFilename)
Handle problem with yaml validationboolean
SpecsConsumer. processSpecsDirectoryRemoval(@NotNull VcsRepositoryData repository, @NotNull VcsLocationBambooSpecsState specsState, @NotNull List<CommitContext> commits, @NotNull RssPermissions rssPermissions, @NotNull com.atlassian.utils.process.OutputHandler stdout, @NotNull String logFilename)
Handle situation where no Specs have been found in the repository (for the current revision)void
RepositoryStoredSpecsService. reportMissingSpecs(@NotNull VcsLocationBambooSpecsState vcsLocationBambooSpecsState, @NotNull VcsRepositoryData repository, @NotNull String errorMessages, @NotNull List<CommitContext> commits)
Record failed specs scan.void
RepositoryStoredSpecsServiceImpl. reportMissingSpecs(@NotNull VcsLocationBambooSpecsState vcsLocationBambooSpecsState, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull String errorMessage, @NotNull List<CommitContext> commits)
void
RepositoryStoredSpecsService. runBambooSpecs(@NotNull SpecsConsumer specsConsumer, @NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor, @NotNull VcsRepositoryData repository, @NotNull VcsBranch vcsBranch, @NotNull VcsLocationBambooSpecsState specsState, @NotNull List<CommitContext> commits, boolean shouldReportMissingSpecs)
Execute Bamboo Specs and import resultsvoid
RepositoryStoredSpecsServiceImpl. runBambooSpecs(@NotNull SpecsConsumer specsConsumer, @NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor, @NotNull VcsRepositoryData repository, @NotNull VcsBranch vcsBranch, @NotNull VcsLocationBambooSpecsState specsState, @NotNull List<CommitContext> commits, boolean shouldReportMissingSpecs)
-
Uses of CommitContext in com.atlassian.bamboo.configuration.external.detection
Methods in com.atlassian.bamboo.configuration.external.detection that return types with arguments of type CommitContext Modifier and Type Method Description List<CommitContext>
RssDetectionTriggerData. getSpecsCommits()
Method parameters in com.atlassian.bamboo.configuration.external.detection with type arguments of type CommitContext Modifier and Type Method Description void
RssJointSpecsConsumer. importPlanProperties(@NotNull SpecsConsumer.PlanPropertiesSupplier topLevelPlanPropertiesSupplier, @NotNull RssPermissions rssPermissions, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull List<CommitContext> commits, @NotNull com.atlassian.utils.process.OutputHandler stdout, @NotNull SpecsType specsType, boolean noChangesInPlanProperties)
void
RssJointSpecsConsumer. onError(@NotNull VcsRepositoryData vcsRepositoryData, @NotNull List<CommitContext> commits, @NotNull VcsBambooSpecsSource specsSource, @NotNull RssPermissions rssPermissions, @NotNull com.atlassian.utils.process.OutputHandler stdout, @NotNull Throwable throwable, @NotNull String logFilename)
void
RssJointSpecsConsumer. onSuccess(@NotNull VcsRepositoryData vcsRepositoryData, @NotNull List<CommitContext> commits, @NotNull VcsLocationBambooSpecsState specsState, @NotNull RssPermissions rssPermissions, @NotNull VcsLocationBambooSpecsState bambooSpecsState, @NotNull com.atlassian.utils.process.OutputHandler stdout, @NotNull String logFilename)
void
RssJointSpecsConsumer. onYamlValidationError(@NotNull VcsRepositoryData vcsRepositoryData, @NotNull List<CommitContext> commits, @NotNull VcsBambooSpecsSource specsSource, @NotNull RssPermissions rssPermissions, @NotNull com.atlassian.utils.process.OutputHandler stdout, @NotNull Exception throwable, @NotNull String logFilename)
boolean
RssJointSpecsConsumer. processSpecsDirectoryRemoval(@NotNull VcsRepositoryData repository, @NotNull VcsLocationBambooSpecsState specsState, @NotNull List<CommitContext> commits, @NotNull RssPermissions rssPermissions, @NotNull com.atlassian.utils.process.OutputHandler stdout, @NotNull String logFilename)
Constructor parameters in com.atlassian.bamboo.configuration.external.detection with type arguments of type CommitContext Constructor Description RssDetectionTriggerData(@NotNull VcsRepositoryData repository, @NotNull VcsRepositoryModuleDescriptor repositoryDescriptor, @NotNull VcsLocationBambooSpecsState specsState, @NotNull List<CommitContext> specsCommits, boolean reportMissingSpecs)
-
Uses of CommitContext in com.atlassian.bamboo.configuration.external.rss
Method parameters in com.atlassian.bamboo.configuration.external.rss with type arguments of type CommitContext Modifier and Type Method Description List<RssAffectedPlan>
RepositoryStoredSpecsResultHelper. createSpecResultAndDisablePlans(@NotNull Collection<PlanKey> plans, @NotNull VcsRepositoryData repositoryData, @NotNull List<CommitContext> commits, @NotNull RssPermissions rssPermissions, boolean specsExecutionSuccessful, @NotNull VcsLocationBambooSpecsState bambooSpecsState)
Creates specs execution results for givenplans
and disable themList<RssAffectedPlan>
RepositoryStoredSpecsResultHelperImpl. createSpecResultAndDisablePlans(@NotNull Collection<PlanKey> plans, @NotNull VcsRepositoryData repositoryData, @NotNull List<CommitContext> commits, @NotNull RssPermissions rssPermissions, boolean specsExecutionSuccessful, @NotNull VcsLocationBambooSpecsState bambooSpecsState)
void
RepositoryStoredSpecsExecutionService. generateBambooYamlsFromSpecs(@NotNull SpecsConsumer specsConsumer, @NotNull VcsRepositoryData repository, @NotNull VcsBambooSpecsSource specsSource, @NotNull Path specsDir, @NotNull Path outputDir, @NotNull RssSecurityConfiguration rssSecurityConfiguration, @NotNull RssPermissions rssPermissions, @NotNull List<CommitContext> commits, @NotNull RssExecutionOutputHandler stdout, @NotNull String logFilename)
Execute Java Specsvoid
RepositoryStoredSpecsExecutionServiceImpl. generateBambooYamlsFromSpecs(@NotNull SpecsConsumer specsConsumer, @NotNull VcsRepositoryData repository, @NotNull VcsBambooSpecsSource specsSource, @NotNull Path specsDir, @NotNull Path outputDir, @NotNull RssSecurityConfiguration rssSecurityConfiguration, @NotNull RssPermissions rssPermissions, @NotNull List<CommitContext> commits, @NotNull RssExecutionOutputHandler stdout, @NotNull String logFilename)
BuildChanges
RepositoryStoredSpecsResultHelper. getBuildChanges(@NotNull VcsRepositoryData repositoryData, @NotNull List<CommitContext> commits)
Get repository changes for Specs execution result@NotNull BuildChanges
RepositoryStoredSpecsResultHelperImpl. getBuildChanges(@NotNull VcsRepositoryData repositoryData, @NotNull List<CommitContext> commits)
boolean
YamlSpecsImportService. processSimplifiedYaml(SpecsConsumer specsConsumer, VcsRepositoryData repository, VcsBambooSpecsSource specsSource, Path yamlFile, Path workingDir, RssPermissions rssPermissions, List<CommitContext> commits, RssExecutionOutputHandler stdout, String logFilename)
Import configuration from Yaml Specsboolean
YamlSpecsImportServiceImpl. processSimplifiedYaml(@NotNull SpecsConsumer specsConsumer, @NotNull VcsRepositoryData repository, @NotNull VcsBambooSpecsSource specsSource, @NotNull Path yamlFile, @NotNull Path workingDir, @NotNull RssPermissions rssPermissions, @NotNull List<CommitContext> commits, @NotNull RssExecutionOutputHandler stdout, @NotNull String logFilename)
boolean
JavaSpecsImportService. processSpecs(SpecsConsumer specsConsumer, VcsRepositoryData repository, VcsBambooSpecsSource specsSource, Path workingDir, Path specsDir, RssSecurityConfiguration rssSecurityConfiguration, RssPermissions rssPermissions, List<CommitContext> commits, RssExecutionOutputHandler stdout, String logFilename)
Execute Java Specs and import resultsboolean
JavaSpecsImportServiceImpl. processSpecs(@NotNull SpecsConsumer specsConsumer, @NotNull VcsRepositoryData repository, @NotNull VcsBambooSpecsSource specsSource, @NotNull Path workingDir, @NotNull Path specsDir, @NotNull RssSecurityConfiguration rssSecurityConfiguration, @NotNull RssPermissions rssPermissions, @NotNull List<CommitContext> commits, @NotNull RssExecutionOutputHandler stdout, @NotNull String logFilename)
void
RepositoryStoredSpecsResultHelper. publishRssErrorEvent(@NotNull VcsRepositoryData vcsRepositoryData, @NotNull List<CommitContext> commits, @NotNull VcsBambooSpecsSource specsSource, @NotNull RssPermissions rssPermissions, @NotNull Throwable throwable, @NotNull Map<String,RssAffectedPlan> affectedPlans, @NotNull Collection<PlanKey> notUpdatedPlans, @NotNull Collection<Long> notUpdatedDeploymentProjects, @NotNull String logFilename)
Handles specs execution error: creates specs result for remaining plans and publishesRssErrorEvent
void
RepositoryStoredSpecsResultHelperImpl. publishRssErrorEvent(@NotNull VcsRepositoryData vcsRepositoryData, @NotNull List<CommitContext> commits, @NotNull VcsBambooSpecsSource specsSource, @NotNull RssPermissions rssPermissions, @NotNull Throwable throwable, @NotNull Map<String,RssAffectedPlan> affectedPlans, @NotNull Collection<PlanKey> notUpdatedPlans, @NotNull Collection<Long> notUpdatedDeploymentProjects, @NotNull String logFilename)
-
Uses of CommitContext in com.atlassian.bamboo.configuration.external.rss.importers
Method parameters in com.atlassian.bamboo.configuration.external.rss.importers with type arguments of type CommitContext Modifier and Type Method Description EntityImporter
PlanImporterProvider. getEntityProvider(@NotNull VcsRepositoryData vcsRepositoryData, @NotNull List<CommitContext> commits, @NotNull RssExecutionOutputHandler outputHandler, @NotNull SpecsType specsType, @NotNull Optional<VcsBambooSpecsSource> specsSource)
-
Uses of CommitContext in com.atlassian.bamboo.event.rss
Methods in com.atlassian.bamboo.event.rss that return types with arguments of type CommitContext Modifier and Type Method Description @NotNull List<CommitContext>
RssEvent. getCommits()
Constructor parameters in com.atlassian.bamboo.event.rss with type arguments of type CommitContext Constructor Description RssErrorEvent(@NotNull Object source, @NotNull VcsRepositoryData repositoryData, @NotNull String errorMessage, @NotNull List<CommitContext> commits, @NotNull Collection<RssAffectedPlan> affectedPlans, @NotNull Collection<Long> notUpdatedDeploymentProjects, @NotNull Long vcsLocationBambooSpecsStateId, @NotNull String logFilename)
RssEvent(@NotNull Object source, @NotNull VcsRepositoryData repositoryData, @NotNull List<CommitContext> commits, @NotNull Collection<RssAffectedPlan> affectedPlans, @NotNull Collection<Long> affectedDeploymentProjects, @NotNull Long vcsLocationBambooSpecsStateId, @NotNull String logFilename)
RssSuccessfulEvent(@NotNull Object source, @NotNull VcsRepositoryData repositoryData, @NotNull List<CommitContext> commits, @NotNull Collection<RssAffectedPlan> affectedPlans, @NotNull Collection<Long> affectedDeploymentProjects, @NotNull Long vcsLocationBambooSpecsStateId, @NotNull String logFilename)
-
Uses of CommitContext in com.atlassian.bamboo.notification.recipients
Method parameters in com.atlassian.bamboo.notification.recipients with type arguments of type CommitContext Modifier and Type Method Description void
CommitterRecipient. setCommits(Set<? extends CommitContext> commits)
-
Uses of CommitContext in com.atlassian.bamboo.notification.rss
Classes in com.atlassian.bamboo.notification.rss that implement CommitContext Modifier and Type Class Description static class
RssNotification.CommitWithUrl
Constructors in com.atlassian.bamboo.notification.rss with parameters of type CommitContext Constructor Description CommitWithUrl(@NotNull CommitContext commitContext, @Nullable String url)
-
Uses of CommitContext in com.atlassian.bamboo.plan.branch
Methods in com.atlassian.bamboo.plan.branch with parameters of type CommitContext Modifier and Type Method Description BranchCommitInformation
BranchCommitInformationManager. updateCreatingCommitInformation(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext)
Creates newBranchCommitInformation
copying the information from the source and then updating creating commit with providedCommitContext
.BranchCommitInformation
BranchCommitInformationManagerImpl. updateCreatingCommitInformation(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext)
BranchCommitInformation
BranchCommitInformationManager. updateLatestCommitInformation(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext)
Creates newBranchCommitInformation
copying the information from the source and then updating latest commit with providedCommitContext
.BranchCommitInformation
BranchCommitInformationManagerImpl. updateLatestCommitInformation(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext)
-
Uses of CommitContext in com.atlassian.bamboo.plugins.bitbucket
Methods in com.atlassian.bamboo.plugins.bitbucket that return CommitContext Modifier and Type Method Description CommitContext
BitbucketRepository. getFirstCommit()
CommitContext
BitbucketRepository. getLastCommit()
-
Uses of CommitContext in com.atlassian.bamboo.plugins.bitbucket.v2
Methods in com.atlassian.bamboo.plugins.bitbucket.v2 that return CommitContext Modifier and Type Method Description @NotNull CommitContext
BitbucketCloudBranchDetector. getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData)
@NotNull CommitContext
BitbucketCloudBranchDetector. getLastCommit(@NotNull VcsRepositoryData repositoryData)
Methods in com.atlassian.bamboo.plugins.bitbucket.v2 that return types with arguments of type CommitContext Modifier and Type Method Description @NotNull List<CommitContext>
BitbucketCloudBambooSpecsHandler. findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2)
-
Uses of CommitContext in com.atlassian.bamboo.plugins.git
Methods in com.atlassian.bamboo.plugins.git that return CommitContext Modifier and Type Method Description @NotNull CommitContext
GitOperationHelper. getCommit(File directory, String targetRevision)
Gets the commit for the revision, given a working directory.@NotNull CommitContext
JGitOperationHelper. getCommit(File directory, String targetRevision)
@NotNull CommitContext
NativeGitOperationHelper. getCommit(File directory, String targetRevision)
CommitContext
GitHubRepository. getFirstCommit()
CommitContext
GitRepository. getFirstCommit()
CommitContext
GitHubRepository. getLastCommit()
CommitContext
GitRepository. getLastCommit()
Methods in com.atlassian.bamboo.plugins.git that return types with arguments of type CommitContext Modifier and Type Method Description List<CommitContext>
CommitOutputHandler. getExtractedCommits()
-
Uses of CommitContext in com.atlassian.bamboo.plugins.git.v2
Methods in com.atlassian.bamboo.plugins.git.v2 that return CommitContext Modifier and Type Method Description static CommitContext
GitChangeDetector. createUnknownChangesEntry(com.atlassian.sal.api.message.I18nResolver i18nResolver, @Nullable String startRevision, String endRevision)
@NotNull CommitContext
GitBranchDetector. getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData)
@NotNull CommitContext
GitBranchDetector. getLastCommit(@NotNull VcsRepositoryData repositoryData)
Methods in com.atlassian.bamboo.plugins.git.v2 that return types with arguments of type CommitContext Modifier and Type Method Description @NotNull List<CommitContext>
GitBambooSpecsHandler. findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2)
-
Uses of CommitContext in com.atlassian.bamboo.plugins.github
Methods in com.atlassian.bamboo.plugins.github that return CommitContext Modifier and Type Method Description @Nullable CommitContext
GitHubBranchDetector. getFirstCommit(@NotNull VcsRepositoryData repositoryData)
@NotNull CommitContext
GitHubBranchDetector. getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData)
@NotNull CommitContext
GitHubBranchDetector. getLastCommit(@NotNull VcsRepositoryData repositoryData)
Methods in com.atlassian.bamboo.plugins.github that return types with arguments of type CommitContext Modifier and Type Method Description @NotNull List<CommitContext>
GitHubBambooSpecsHandler. findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2)
-
Uses of CommitContext in com.atlassian.bamboo.plugins.stash
Methods in com.atlassian.bamboo.plugins.stash that return CommitContext Modifier and Type Method Description CommitContext
StashRepositoryImpl. getFirstCommit()
CommitContext
StashRepositoryImpl. getLastCommit()
-
Uses of CommitContext in com.atlassian.bamboo.plugins.stash.v2
Methods in com.atlassian.bamboo.plugins.stash.v2 that return CommitContext Modifier and Type Method Description @NotNull CommitContext
BitbucketServerBranchDetector. getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData)
@NotNull CommitContext
BitbucketServerBranchDetector. getLastCommit(@NotNull VcsRepositoryData repositoryData)
Methods in com.atlassian.bamboo.plugins.stash.v2 that return types with arguments of type CommitContext Modifier and Type Method Description @NotNull List<CommitContext>
BitbucketServerBambooSpecsHandler. findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2)
-
Uses of CommitContext in com.atlassian.bamboo.repository
Methods in com.atlassian.bamboo.repository that return CommitContext Modifier and Type Method Description @Nullable CommitContext
BranchDetectionCapableRepository. getFirstCommit()
Deprecated.Retrieve the commit that created the Branch.@Nullable CommitContext
BranchDetectionCapableRepository. getLastCommit()
Deprecated.Retrieve last commit on the branch set on this Repository. -
Uses of CommitContext in com.atlassian.bamboo.repository.svn
Methods in com.atlassian.bamboo.repository.svn that return CommitContext Modifier and Type Method Description CommitContext
SvnRepository. getFirstCommit()
CommitContext
SvnRepository. getLastCommit()
Methods in com.atlassian.bamboo.repository.svn that return types with arguments of type CommitContext Modifier and Type Method Description List<CommitContext>
CommitExtractor. getCommits()
-
Uses of CommitContext in com.atlassian.bamboo.repository.svn.v2
Methods in com.atlassian.bamboo.repository.svn.v2 that return CommitContext Modifier and Type Method Description @NotNull CommitContext
SvnBranchDetector. getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData)
@NotNull CommitContext
SvnBranchDetector. getLastCommit(@NotNull VcsRepositoryData repositoryData)
Methods in com.atlassian.bamboo.repository.svn.v2 that return types with arguments of type CommitContext Modifier and Type Method Description @NotNull List<CommitContext>
SvnBambooSpecsHandler. findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2)
-
Uses of CommitContext in com.atlassian.bamboo.v2.build
Methods in com.atlassian.bamboo.v2.build that return types with arguments of type CommitContext Modifier and Type Method Description @NotNull List<CommitContext>
BuildChanges. getChanges()
Get changes from all repositories@NotNull List<CommitContext>
BuildChanges. getChanges(long repositoryId)
@NotNull com.google.common.collect.ImmutableList<CommitContext>
BuildChangesImpl. getChanges()
@NotNull List<CommitContext>
BuildChangesImpl. getChanges(long repositoryId)
@NotNull List<CommitContext>
BuildRepositoryChanges. getChanges()
@NotNull List<CommitContext>
BuildRepositoryChangesImpl. getChanges()
Method parameters in com.atlassian.bamboo.v2.build with type arguments of type CommitContext Modifier and Type Method Description void
BuildChanges. setChanges(long repositoryId, @NotNull List<CommitContext> changes)
void
BuildChangesImpl. setChanges(long repositoryId, @NotNull List<CommitContext> changes)
void
BuildRepositoryChanges. setChanges(@NotNull List<? extends CommitContext> changes)
void
BuildRepositoryChangesImpl. setChanges(@NotNull List<? extends CommitContext> changes)
Constructor parameters in com.atlassian.bamboo.v2.build with type arguments of type CommitContext Constructor Description BuildRepositoryChangesImpl(long repositoryId, @Nullable String vcsRevisionKey, @Nullable List<? extends CommitContext> changes)
Deprecated.since 5.14 avoid using constructor that produces incomplete dataBuildRepositoryChangesImpl(long repositoryId, @Nullable String vcsRevisionKey, @Nullable List<? extends CommitContext> changes, @Nullable VcsBranch actualBranch)
BuildRepositoryChangesImpl(@NotNull String vcsRevisionKey, @NotNull List<? extends CommitContext> changes)
Deprecated.since 5.14 avoid using constructor that produces incomplete data -
Uses of CommitContext in com.atlassian.bamboo.vcs
Methods in com.atlassian.bamboo.vcs that return types with arguments of type CommitContext Modifier and Type Method Description @NotNull List<CommitContext>
BambooSpecsHandler. findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2)
Extracts a list of commits related to Bamboo Specs, which occurred between revisionsrev1
andrev2
. -
Uses of CommitContext in com.atlassian.bamboo.vcs.configuration.legacy
Methods in com.atlassian.bamboo.vcs.configuration.legacy that return CommitContext Modifier and Type Method Description @Nullable CommitContext
LegacyBranchDetector. getFirstCommit(@NotNull VcsRepositoryData repositoryData)
@NotNull CommitContext
LegacyBranchDetector. getLastCommit(@NotNull VcsRepositoryData repositoryData)
-
Uses of CommitContext in com.atlassian.bamboo.vcs.runtime
Methods in com.atlassian.bamboo.vcs.runtime that return CommitContext Modifier and Type Method Description default @Nullable CommitContext
VcsBranchDetector. getFirstCommit(@NotNull VcsRepositoryData repositoryData)
Deprecated.since 6.0 use/implementVcsBranchDetector.getFirstCommitApproximation(VcsRepositoryData)
insteaddefault @NotNull CommitContext
VcsBranchDetector. getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData)
Retrieve an old, preferably the first commit on a branch.@NotNull CommitContext
VcsBranchDetector. getLastCommit(@NotNull VcsRepositoryData repositoryData)
Retrieve last commit on the branch set on this Repository.
-