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
ConstructorsConstructorDescriptionDeploymentVersionVcsChangesetImpl(long deploymentProjectId, RepositoryDataEntity repositoryDataEntity, Collection<DeploymentVersionVcsCommit> deploymentVersionVcsCommits) Creates arbitrary changeset.DeploymentVersionVcsChangesetImpl(@NotNull MutableDeploymentVersionVcsChangeset changeset) -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturn VCS identifier for this changeset, that is, id of the latest commit in this changeset.@NotNull Set<DeploymentVersionVcsCommit> longlonggetId()longThe 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, RepositoryDataEntity repositoryDataEntity, Collection<DeploymentVersionVcsCommit> deploymentVersionVcsCommits) Creates arbitrary changeset.- Parameters:
deploymentProjectId-repositoryDataEntity-deploymentVersionVcsCommits-
-
-
Method Details
-
getDeploymentVersionId
public long getDeploymentVersionId()- Specified by:
getDeploymentVersionIdin interfaceDeploymentVersionVcsChangeset- Returns:
- id of
DeploymentVersionthis object is related to
-
getVcsRepositoryIdentifier
- Specified by:
getVcsRepositoryIdentifierin interfaceDeploymentVersionVcsChangeset- Returns:
- repository the commits come from
-
getChangesetId
Description copied from interface:DeploymentVersionVcsChangesetReturn VCS identifier for this changeset, that is, id of the latest commit in this changeset.- Specified by:
getChangesetIdin interfaceDeploymentVersionVcsChangeset
-
getCommits
- Specified by:
getCommitsin interfaceDeploymentVersionVcsChangeset- Returns:
- all commits
-
getSkippedCommitsCount
public long getSkippedCommitsCount()Description copied from interface:DeploymentVersionVcsChangesetThe 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:
getSkippedCommitsCountin interfaceDeploymentVersionVcsChangeset- Returns:
- number of skipped commits
-
getId
public long getId()- Specified by:
getIdin interfaceBambooIdProvider
-