Class DeploymentVersionVcsCommitImpl
- java.lang.Object
-
- com.atlassian.bamboo.deployments.versions.history.commit.DeploymentVersionVcsCommitImpl
-
- All Implemented Interfaces:
BambooIdProvider
,DeploymentVersionVcsCommit
,InternalDeploymentVersionVcsCommit
public class DeploymentVersionVcsCommitImpl extends Object implements DeploymentVersionVcsCommit
-
-
Constructor Summary
Constructors Constructor Description DeploymentVersionVcsCommitImpl(@NotNull MutableDeploymentVersionVcsCommit aCommit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Author
getAuthor()
@Nullable String
getChangeSetId()
long
getChangesetObjectId()
Return id ofDeploymentVersionVcsChangeset
this commit belongs to@NotNull String
getComment()
Date
getDate()
long
getId()
-
-
-
Constructor Detail
-
DeploymentVersionVcsCommitImpl
public DeploymentVersionVcsCommitImpl(@NotNull @NotNull MutableDeploymentVersionVcsCommit aCommit)
-
-
Method Detail
-
getAuthor
public Author getAuthor()
- Specified by:
getAuthor
in interfaceInternalDeploymentVersionVcsCommit
- Returns:
Author
who made the commit
-
getComment
@NotNull public @NotNull String getComment()
- Specified by:
getComment
in interfaceInternalDeploymentVersionVcsCommit
- Returns:
- the commit comment
-
getDate
public Date getDate()
- Specified by:
getDate
in interfaceInternalDeploymentVersionVcsCommit
- Returns:
Date
of commit.
-
getChangeSetId
@Nullable public @Nullable String getChangeSetId()
- Specified by:
getChangeSetId
in interfaceInternalDeploymentVersionVcsCommit
- Returns:
- VCS identifier for this changeset
-
getId
public long getId()
- Specified by:
getId
in interfaceBambooIdProvider
-
getChangesetObjectId
public long getChangesetObjectId()
Description copied from interface:DeploymentVersionVcsCommit
Return id ofDeploymentVersionVcsChangeset
this commit belongs to- Specified by:
getChangesetObjectId
in interfaceDeploymentVersionVcsCommit
- Returns:
-
-