Package com.atlassian.bamboo.repository
Interface OnceOffCapableRepository
- All Superinterfaces:
BambooPluginModule,BuildConfigurationAwarePlugin,ConfigurablePlugin,ConvertibleFromConfig,DescriptionProvider,InitablePluginModule,NameProvider,RenderableBuildConfiguration,Repository,RepositoryV2,Serializable
- All Known Implementing Classes:
AbstractRepository,AbstractStandaloneRepository,BitbucketRepository,GitHubRepository,GitRepository,NullRepository,StashRepositoryImpl,SvnRepository
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.repository.Repository
SELECTED_REPOSITORY, UNKNOWN_HOST -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildRepositoryChangescollectChangesForRevision(@NotNull PlanKey planKey, @NotNull String targetRevision) Collects the changes for the targetRevision.Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, isConfigurationMissing, prepareConfigObject, validateMethods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin
customizeBuildRequirements, removeBuildRequirementsMethods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfigurationMethods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescriptionMethods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
initMethods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
getEditHtml, getViewHtmlMethods inherited from interface com.atlassian.bamboo.repository.Repository
getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKeyMethods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
-
Method Details
-
collectChangesForRevision
@NotNull @NotNull BuildRepositoryChanges collectChangesForRevision(@NotNull @NotNull PlanKey planKey, @NotNull @NotNull String targetRevision) throws RepositoryException Collects the changes for the targetRevision. This method is called only on server side (never on agent).- Parameters:
planKey-targetRevision-- Returns:
- A build changes object with the appropriate build changes (that is - with the single commit data relevant for targetRevision)
- Throws:
RepositoryException- if something goes wrong
-