Class DeploymentVersionVcsChangesetImpl
java.lang.Object
com.atlassian.bamboo.deployments.versions.history.commit.DeploymentVersionVcsChangesetImpl
- All Implemented Interfaces:
BambooIdProvider
,DeploymentVersionVcsChangeset
public class DeploymentVersionVcsChangesetImpl
extends Object
implements DeploymentVersionVcsChangeset
-
Constructor Summary
ConstructorDescriptionDeploymentVersionVcsChangesetImpl
(long deploymentProjectId, RepositoryData repositoryData, Collection<DeploymentVersionVcsCommit> deploymentVersionVcsCommits) Creates arbitrary changeset.DeploymentVersionVcsChangesetImpl
(@NotNull MutableDeploymentVersionVcsChangeset changeset) -
Method Summary
Modifier and TypeMethodDescription@Nullable String
Return VCS identifier for this changeset, that is, id of the latest commit in this changeset.@NotNull Set<DeploymentVersionVcsCommit>
long
long
getId()
long
The number of commits that were included in this summary, but their details were skipped (because there was too many commits to keep them all in this summary)
-
Constructor Details
-
DeploymentVersionVcsChangesetImpl
public DeploymentVersionVcsChangesetImpl(@NotNull @NotNull MutableDeploymentVersionVcsChangeset changeset) -
DeploymentVersionVcsChangesetImpl
public DeploymentVersionVcsChangesetImpl(long deploymentProjectId, RepositoryData repositoryData, Collection<DeploymentVersionVcsCommit> deploymentVersionVcsCommits) Creates arbitrary changeset.- Parameters:
deploymentProjectId
-repositoryData
-deploymentVersionVcsCommits
-
-
-
Method Details
-
getDeploymentVersionId
public long getDeploymentVersionId()- Specified by:
getDeploymentVersionId
in interfaceDeploymentVersionVcsChangeset
- Returns:
- id of
DeploymentVersion
this object is related to
-
getRepositoryData
- Specified by:
getRepositoryData
in interfaceDeploymentVersionVcsChangeset
- Returns:
- repository the commits come from
-
getChangesetId
Description copied from interface:DeploymentVersionVcsChangeset
Return VCS identifier for this changeset, that is, id of the latest commit in this changeset.- Specified by:
getChangesetId
in interfaceDeploymentVersionVcsChangeset
-
getCommits
- Specified by:
getCommits
in interfaceDeploymentVersionVcsChangeset
- Returns:
- all commits
-
getSkippedCommitsCount
public long getSkippedCommitsCount()Description copied from interface:DeploymentVersionVcsChangeset
The number of commits that were included in this summary, but their details were skipped (because there was too many commits to keep them all in this summary)- Specified by:
getSkippedCommitsCount
in interfaceDeploymentVersionVcsChangeset
- Returns:
- number of skipped commits
-
getId
public long getId()- Specified by:
getId
in interfaceBambooIdProvider
-