Uses of Interface
com.atlassian.bamboo.commit.CommitContext
Packages that use CommitContext
Package
Description
-
Uses of CommitContext in com.atlassian.bamboo.commit
Subinterfaces of CommitContext in com.atlassian.bamboo.commitModifier and TypeInterfaceDescriptioninterfaceInterface that represents a single commit set.Classes in com.atlassian.bamboo.commit that implement CommitContextMethods in com.atlassian.bamboo.commit that return CommitContextModifier and TypeMethodDescriptionstatic CommitContextCommitPredicates.toForeignCommit(CommitContext commitContext) Methods in com.atlassian.bamboo.commit with parameters of type CommitContextModifier and TypeMethodDescriptionstatic CommitContextImplCommitFunctions.cloneCommit(CommitContext commit) static booleanCommitPredicates.isCommitRelevantToBranch(CommitContext commitContext) static CommitContextCommitPredicates.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 CommitContextModifier and TypeMethodDescriptionRepositoryStoredSpecsLogService.generateFileName(@NotNull List<? extends CommitContext> commits) Generate log file name@NotNull StringRepositoryStoredSpecsLogServiceImpl.generateFileName(@NotNull List<? extends CommitContext> commits) @NotNull StringRepositoryStoredSpecsLogService.getChangeSetForFilename(@NotNull List<? extends CommitContext> commits) @NotNull StringRepositoryStoredSpecsLogServiceImpl.getChangeSetForFilename(@NotNull List<? extends CommitContext> commits) voidSpecsConsumer.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 propertiesvoidSpecsConsumer.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 importvoidSpecsConsumer.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 successvoidSpecsConsumer.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 validationbooleanSpecsConsumer.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)voidRepositoryStoredSpecsService.reportMissingSpecs(@NotNull VcsLocationBambooSpecsState vcsLocationBambooSpecsState, @NotNull VcsRepositoryData repository, @NotNull String errorMessages, @NotNull List<CommitContext> commits) Record failed specs scan.voidRepositoryStoredSpecsServiceImpl.reportMissingSpecs(@NotNull VcsLocationBambooSpecsState vcsLocationBambooSpecsState, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull String errorMessage, @NotNull List<CommitContext> commits) voidRepositoryStoredSpecsService.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 resultsvoidRepositoryStoredSpecsServiceImpl.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 CommitContextMethod parameters in com.atlassian.bamboo.configuration.external.detection with type arguments of type CommitContextModifier and TypeMethodDescriptionvoidRssJointSpecsConsumer.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) voidRssJointSpecsConsumer.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) voidRssJointSpecsConsumer.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) voidRssJointSpecsConsumer.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) booleanRssJointSpecsConsumer.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 CommitContextModifierConstructorDescriptionRssDetectionTriggerData(@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 CommitContextModifier 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 givenplansand disable themRepositoryStoredSpecsResultHelperImpl.createSpecResultAndDisablePlans(@NotNull Collection<PlanKey> plans, @NotNull VcsRepositoryData repositoryData, @NotNull List<CommitContext> commits, @NotNull RssPermissions rssPermissions, boolean specsExecutionSuccessful, @NotNull VcsLocationBambooSpecsState bambooSpecsState) voidRepositoryStoredSpecsExecutionService.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 SpecsvoidRepositoryStoredSpecsExecutionServiceImpl.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 BuildChangesRepositoryStoredSpecsResultHelperImpl.getBuildChanges(@NotNull VcsRepositoryData repositoryData, @NotNull List<CommitContext> commits) booleanYamlSpecsImportService.processSimplifiedYaml(SpecsConsumer specsConsumer, VcsRepositoryData repository, VcsBambooSpecsSource specsSource, Path yamlFile, Path workingDir, RssPermissions rssPermissions, List<CommitContext> commits, RssExecutionOutputHandler stdout, String logFilename) Import configuration from Yaml SpecsbooleanYamlSpecsImportServiceImpl.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) booleanJavaSpecsImportService.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 resultsbooleanJavaSpecsImportServiceImpl.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) voidRepositoryStoredSpecsResultHelper.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 publishesRssErrorEventvoidRepositoryStoredSpecsResultHelperImpl.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 CommitContextModifier 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
Methods in com.atlassian.bamboo.event.rss that return types with arguments of type CommitContextConstructor parameters in com.atlassian.bamboo.event.rss with type arguments of type CommitContextModifierConstructorDescriptionRssErrorEvent(@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 CommitContextModifier and TypeMethodDescriptionvoidCommitterRecipient.setCommits(Set<? extends CommitContext> commits) -
Uses of CommitContext in com.atlassian.bamboo.notification.rss
Classes in com.atlassian.bamboo.notification.rss that implement CommitContextConstructors in com.atlassian.bamboo.notification.rss with parameters of type CommitContextModifierConstructorDescriptionCommitWithUrl(@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 CommitContextModifier and TypeMethodDescriptionBranchCommitInformationManager.updateCreatingCommitInformation(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext) Creates newBranchCommitInformationcopying 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 newBranchCommitInformationcopying 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.v2
Methods in com.atlassian.bamboo.plugins.bitbucket.v2 that return CommitContextModifier and TypeMethodDescription@NotNull CommitContextBitbucketCloudBranchDetector.getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData) @NotNull CommitContextBitbucketCloudBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData) Methods in com.atlassian.bamboo.plugins.bitbucket.v2 that return types with arguments of type CommitContextModifier 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
Methods in com.atlassian.bamboo.plugins.git that return CommitContextModifier and TypeMethodDescription@NotNull CommitContextGitCommandProcessor.extractCommit(File directory, String targetRevision) @NotNull CommitContextGets the commit for the revision, given a working directory.@NotNull CommitContext@NotNull CommitContextMethods in com.atlassian.bamboo.plugins.git that return types with arguments of type CommitContextModifier and TypeMethodDescriptionCommitOutputHandler.getExtractedCommits()GitCommandProcessor.runLogCommand(File cacheDirectory, @Nullable String lastVcsRevisionKey, String targetRevision, @NotNull Set<String> shallows, int maxCommits, @Nullable String path) GitCommandProcessor.runLogCommandXBranch(File cacheDirectory, @NotNull String branchA, String branchB, @NotNull Set<String> shallows, int maxCommits) -
Uses of CommitContext in com.atlassian.bamboo.plugins.git.v2
Methods in com.atlassian.bamboo.plugins.git.v2 that return CommitContextModifier and TypeMethodDescriptionstatic CommitContextGitChangeDetector.createUnknownChangesEntry(com.atlassian.sal.api.message.I18nResolver i18nResolver, @Nullable String startRevision, String endRevision) @NotNull CommitContextGitBranchDetector.getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData) @NotNull CommitContextGitBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData) Methods in com.atlassian.bamboo.plugins.git.v2 that return types with arguments of type CommitContextModifier 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
Methods in com.atlassian.bamboo.plugins.github that return CommitContextModifier and TypeMethodDescription@Nullable CommitContextGitHubBranchDetector.getFirstCommit(@NotNull VcsRepositoryData repositoryData) @NotNull CommitContextGitHubBranchDetector.getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData) @NotNull CommitContextGitHubBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData) Methods in com.atlassian.bamboo.plugins.github that return types with arguments of type CommitContextModifier 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.v2
Methods in com.atlassian.bamboo.plugins.stash.v2 that return CommitContextModifier and TypeMethodDescription@NotNull CommitContextBitbucketServerBranchDetector.getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData) @NotNull CommitContextBitbucketServerBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData) Methods in com.atlassian.bamboo.plugins.stash.v2 that return types with arguments of type CommitContextModifier and TypeMethodDescription@NotNull List<CommitContext>BitbucketServerBambooSpecsHandler.findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData, @NotNull String rev1, @NotNull String rev2) -
Uses of CommitContext in com.atlassian.bamboo.repository.svn
Methods in com.atlassian.bamboo.repository.svn that return types with arguments of type CommitContext -
Uses of CommitContext in com.atlassian.bamboo.repository.svn.v2
Methods in com.atlassian.bamboo.repository.svn.v2 that return CommitContextModifier and TypeMethodDescription@NotNull CommitContextSvnBranchDetector.getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData) @NotNull CommitContextSvnBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData) Methods in com.atlassian.bamboo.repository.svn.v2 that return types with arguments of type CommitContextModifier 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
Methods in com.atlassian.bamboo.v2.build that return types with arguments of type CommitContextModifier 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()Method parameters in com.atlassian.bamboo.v2.build with type arguments of type CommitContextModifier and TypeMethodDescriptionvoidBuildChanges.setChanges(long repositoryId, @NotNull List<CommitContext> changes) voidBuildChangesImpl.setChanges(long repositoryId, @NotNull List<CommitContext> changes) voidBuildRepositoryChanges.setChanges(@NotNull List<? extends CommitContext> changes) final voidBuildRepositoryChangesImpl.setChanges(@NotNull List<? extends CommitContext> changes) Constructor parameters in com.atlassian.bamboo.v2.build with type arguments of type CommitContextModifierConstructorDescriptionBuildRepositoryChangesImpl(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 CommitContextModifier 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 revisionsrev1andrev2. -
Uses of CommitContext in com.atlassian.bamboo.vcs.runtime
Methods in com.atlassian.bamboo.vcs.runtime that return CommitContextModifier and TypeMethodDescriptiondefault @Nullable CommitContextVcsBranchDetector.getFirstCommit(@NotNull VcsRepositoryData repositoryData) Deprecated.since 6.0 use/implementVcsBranchDetector.getFirstCommitApproximation(VcsRepositoryData)insteaddefault @NotNull CommitContextVcsBranchDetector.getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData) Retrieve an old, preferably the first commit on a branch.@NotNull CommitContextVcsBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData) Retrieve last commit on the branch set on this Repository.