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
Constructors Constructor Description DeploymentVersionVcsChangesetImpl(long deploymentProjectId, RepositoryData repositoryData, Collection<DeploymentVersionVcsCommit> deploymentVersionVcsCommits)Creates arbitrary changeset.DeploymentVersionVcsChangesetImpl(@NotNull MutableDeploymentVersionVcsChangeset changeset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable StringgetChangesetId()Return VCS identifier for this changeset, that is, id of the latest commit in this changeset.@NotNull Set<DeploymentVersionVcsCommit>getCommits()longgetDeploymentVersionId()longgetId()RepositoryDatagetRepositoryData()longgetSkippedCommitsCount()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)BambooPluginDataIdProvidergetVcsRepositoryIdentifier()
-
-
-
Constructor Detail
-
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 Detail
-
getDeploymentVersionId
public long getDeploymentVersionId()
- Specified by:
getDeploymentVersionIdin interfaceDeploymentVersionVcsChangeset- Returns:
- id of
DeploymentVersionthis object is related to
-
getRepositoryData
public RepositoryData getRepositoryData()
- Specified by:
getRepositoryDatain interfaceDeploymentVersionVcsChangeset- Returns:
- repository the commits come from
-
getVcsRepositoryIdentifier
public BambooPluginDataIdProvider getVcsRepositoryIdentifier()
- Specified by:
getVcsRepositoryIdentifierin interfaceDeploymentVersionVcsChangeset- Returns:
- repository the commits come from
-
getChangesetId
@Nullable public @Nullable String 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
@NotNull public @NotNull Set<DeploymentVersionVcsCommit> 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
-
-