Uses of Interface
com.atlassian.bamboo.commit.CommitContext
Package
Description
-
Uses of CommitContext in com.atlassian.bamboo.commit
Modifier and TypeInterfaceDescriptioninterface
Interface that represents a single commit set.Modifier and TypeMethodDescriptionstatic CommitContext
CommitPredicates.toForeignCommit
(CommitContext commitContext) Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionRepositoryStoredSpecsLogService.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
Modifier and TypeMethodDescriptionvoid
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) ModifierConstructorDescriptionRssDetectionTriggerData
(@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
Modifier and TypeMethodDescriptionRepositoryStoredSpecsResultHelper.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 themRepositoryStoredSpecsResultHelperImpl.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) 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
Modifier and TypeMethodDescriptionPlanImporterProvider.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
ModifierConstructorDescriptionRssErrorEvent
(@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
Modifier and TypeMethodDescriptionvoid
CommitterRecipient.setCommits
(Set<? extends CommitContext> commits) -
Uses of CommitContext in com.atlassian.bamboo.notification.rss
ModifierConstructorDescriptionCommitWithUrl
(@NotNull CommitContext commitContext, @Nullable String url) -
Uses of CommitContext in com.atlassian.bamboo.plan.branch
Modifier and TypeMethodDescriptionBranchCommitInformationManager.updateCreatingCommitInformation
(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext) Creates newBranchCommitInformation
copying the information from the source and then updating creating commit with providedCommitContext
.BranchCommitInformationManagerImpl.updateCreatingCommitInformation
(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext) BranchCommitInformationManager.updateLatestCommitInformation
(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext) Creates newBranchCommitInformation
copying the information from the source and then updating latest commit with providedCommitContext
.BranchCommitInformationManagerImpl.updateLatestCommitInformation
(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext) -
Uses of CommitContext in com.atlassian.bamboo.plugins.bitbucket
Modifier and TypeMethodDescriptionBitbucketRepository.getFirstCommit()
BitbucketRepository.getLastCommit()
-
Uses of CommitContext in com.atlassian.bamboo.plugins.bitbucket.v2
Modifier and TypeMethodDescription@NotNull CommitContext
BitbucketCloudBranchDetector.getFirstCommitApproximation
(@NotNull VcsRepositoryData repositoryData) @NotNull CommitContext
BitbucketCloudBranchDetector.getLastCommit
(@NotNull VcsRepositoryData repositoryData) Modifier and TypeMethodDescription@NotNull List<CommitContext>
BitbucketCloudBambooSpecsHandler.findCommitsToSpecs
(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2) -
Uses of CommitContext in com.atlassian.bamboo.plugins.git
Modifier and TypeMethodDescription@NotNull CommitContext
Gets the commit for the revision, given a working directory.@NotNull CommitContext
@NotNull CommitContext
GitHubRepository.getFirstCommit()
GitRepository.getFirstCommit()
GitHubRepository.getLastCommit()
GitRepository.getLastCommit()
-
Uses of CommitContext in com.atlassian.bamboo.plugins.git.v2
Modifier and TypeMethodDescriptionstatic 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) Modifier and TypeMethodDescription@NotNull List<CommitContext>
GitBambooSpecsHandler.findCommitsToSpecs
(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2) -
Uses of CommitContext in com.atlassian.bamboo.plugins.github
Modifier and TypeMethodDescription@Nullable CommitContext
GitHubBranchDetector.getFirstCommit
(@NotNull VcsRepositoryData repositoryData) @NotNull CommitContext
GitHubBranchDetector.getFirstCommitApproximation
(@NotNull VcsRepositoryData repositoryData) @NotNull CommitContext
GitHubBranchDetector.getLastCommit
(@NotNull VcsRepositoryData repositoryData) Modifier and TypeMethodDescription@NotNull List<CommitContext>
GitHubBambooSpecsHandler.findCommitsToSpecs
(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2) -
Uses of CommitContext in com.atlassian.bamboo.plugins.stash
Modifier and TypeMethodDescriptionStashRepositoryImpl.getFirstCommit()
StashRepositoryImpl.getLastCommit()
-
Uses of CommitContext in com.atlassian.bamboo.plugins.stash.v2
Modifier and TypeMethodDescription@NotNull CommitContext
BitbucketServerBranchDetector.getFirstCommitApproximation
(@NotNull VcsRepositoryData repositoryData) @NotNull CommitContext
BitbucketServerBranchDetector.getLastCommit
(@NotNull VcsRepositoryData repositoryData) Modifier and TypeMethodDescription@NotNull List<CommitContext>
BitbucketServerBambooSpecsHandler.findCommitsToSpecs
(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2) -
Uses of CommitContext in com.atlassian.bamboo.repository
Modifier and TypeMethodDescription@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
-
Uses of CommitContext in com.atlassian.bamboo.repository.svn.v2
Modifier and TypeMethodDescription@NotNull CommitContext
SvnBranchDetector.getFirstCommitApproximation
(@NotNull VcsRepositoryData repositoryData) @NotNull CommitContext
SvnBranchDetector.getLastCommit
(@NotNull VcsRepositoryData repositoryData) Modifier and TypeMethodDescription@NotNull List<CommitContext>
SvnBambooSpecsHandler.findCommitsToSpecs
(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2) -
Uses of CommitContext in com.atlassian.bamboo.v2.build
Modifier and TypeMethodDescription@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()
Modifier and TypeMethodDescriptionvoid
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) final void
BuildRepositoryChangesImpl.setChanges
(@NotNull List<? extends CommitContext> changes) ModifierConstructorDescriptionBuildRepositoryChangesImpl
(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
Modifier and TypeMethodDescription@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
Modifier and TypeMethodDescription@Nullable CommitContext
LegacyBranchDetector.getFirstCommit
(@NotNull VcsRepositoryData repositoryData) @NotNull CommitContext
LegacyBranchDetector.getLastCommit
(@NotNull VcsRepositoryData repositoryData) -
Uses of CommitContext in com.atlassian.bamboo.vcs.runtime
Modifier and TypeMethodDescriptiondefault @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.