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 AuthorgetAuthor()@Nullable StringgetChangeSetId()longgetChangesetObjectId()Return id ofDeploymentVersionVcsChangesetthis commit belongs to@NotNull StringgetComment()DategetDate()longgetId()
-
-
-
Constructor Detail
-
DeploymentVersionVcsCommitImpl
public DeploymentVersionVcsCommitImpl(@NotNull @NotNull MutableDeploymentVersionVcsCommit aCommit)
-
-
Method Detail
-
getAuthor
public Author getAuthor()
- Specified by:
getAuthorin interfaceInternalDeploymentVersionVcsCommit- Returns:
Authorwho made the commit
-
getComment
@NotNull public @NotNull String getComment()
- Specified by:
getCommentin interfaceInternalDeploymentVersionVcsCommit- Returns:
- the commit comment
-
getDate
public Date getDate()
- Specified by:
getDatein interfaceInternalDeploymentVersionVcsCommit- Returns:
Dateof commit.
-
getChangeSetId
@Nullable public @Nullable String getChangeSetId()
- Specified by:
getChangeSetIdin interfaceInternalDeploymentVersionVcsCommit- Returns:
- VCS identifier for this changeset
-
getId
public long getId()
- Specified by:
getIdin interfaceBambooIdProvider
-
getChangesetObjectId
public long getChangesetObjectId()
Description copied from interface:DeploymentVersionVcsCommitReturn id ofDeploymentVersionVcsChangesetthis commit belongs to- Specified by:
getChangesetObjectIdin interfaceDeploymentVersionVcsCommit- Returns:
-
-