|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.deployments.versions.service.DeploymentVersionVcsChangesetServiceImpl
public class DeploymentVersionVcsChangesetServiceImpl
Constructor Summary | |
---|---|
DeploymentVersionVcsChangesetServiceImpl(DeploymentVersionVcsChangesetDao deploymentVersionVcsChangesetDao,
DeploymentVersionVcsCommitDao deploymentVersionVcsCommitDao,
DeploymentVersionService deploymentVersionService,
RepositoryDefinitionManager repositoryDefinitionManager,
DeploymentVersionChainResultDataCollector deploymentVersionChainResultDataCollector)
|
Method Summary | |
---|---|
DeploymentVersionCommitsComparisonResult |
compareVersionsByChangesets(long deploymentProjectId,
DeploymentVersion version1,
DeploymentVersion version2,
int maxCommits)
Find all DeploymentVersionVcsChangeset that happened after creation of older version until (and including) the creation of newer version. |
java.util.List<DeploymentVersionVcsChangeset> |
getChangesetsForDeploymentVersion(DeploymentVersion deploymentVersion)
Find all DeploymentVersionVcsChangeset associated with a DeploymentVersion |
DeploymentVersionCommitsComparisonResult |
getChangesetsForNewDeploymentVersion(long deploymentProjectId,
PlanResultKey planResultKey,
int maxCommits)
Finds the changesets if a new version would be created from planResultKey. |
int |
getCommitCountForDeploymentVersion(DeploymentVersion deploymentVersion)
count of all commits in all changesets associated with a DeploymentVersion |
DeploymentVersionCommitsComparisonResult |
getLastNCommitsForVersion(long deploymentProjectId,
DeploymentVersion deploymentVersion,
int maxCommits)
Find changesets for the version and fetch n last commits. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeploymentVersionVcsChangesetServiceImpl(DeploymentVersionVcsChangesetDao deploymentVersionVcsChangesetDao, DeploymentVersionVcsCommitDao deploymentVersionVcsCommitDao, DeploymentVersionService deploymentVersionService, RepositoryDefinitionManager repositoryDefinitionManager, DeploymentVersionChainResultDataCollector deploymentVersionChainResultDataCollector)
Method Detail |
---|
@NotNull public java.util.List<DeploymentVersionVcsChangeset> getChangesetsForDeploymentVersion(@NotNull DeploymentVersion deploymentVersion)
DeploymentVersionVcsChangesetService
DeploymentVersionVcsChangeset
associated with a DeploymentVersion
getChangesetsForDeploymentVersion
in interface DeploymentVersionVcsChangesetService
deploymentVersion
- a versionpublic int getCommitCountForDeploymentVersion(@NotNull DeploymentVersion deploymentVersion)
DeploymentVersionVcsChangesetService
DeploymentVersion
getCommitCountForDeploymentVersion
in interface DeploymentVersionVcsChangesetService
deploymentVersion
- a version@NotNull public DeploymentVersionCommitsComparisonResult compareVersionsByChangesets(long deploymentProjectId, @NotNull DeploymentVersion version1, @NotNull DeploymentVersion version2, int maxCommits)
DeploymentVersionVcsChangesetService
DeploymentVersionVcsChangeset
that happened after creation of older version until (and including) the creation of newer version.
compareVersionsByChangesets
in interface DeploymentVersionVcsChangesetService
version1
- 1st version to compare (can be either older or newer than version2)version2
- 2nd version to compare (can be either older or newer than version1)maxCommits
- maximum number of commits fetched with full information
@NotNull public DeploymentVersionCommitsComparisonResult getLastNCommitsForVersion(long deploymentProjectId, DeploymentVersion deploymentVersion, int maxCommits)
DeploymentVersionVcsChangesetService
getLastNCommitsForVersion
in interface DeploymentVersionVcsChangesetService
@NotNull public DeploymentVersionCommitsComparisonResult getChangesetsForNewDeploymentVersion(long deploymentProjectId, PlanResultKey planResultKey, int maxCommits)
DeploymentVersionVcsChangesetService
getChangesetsForNewDeploymentVersion
in interface DeploymentVersionVcsChangesetService
deploymentProjectId
- id of the deployment projectplanResultKey
- of the build result we want to create version from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |