Class MutableDeploymentVersionVcsCommitImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.deployments.versions.persistence.commits.MutableDeploymentVersionVcsCommitImpl
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,InternalDeploymentVersionVcsCommit
,MutableDeploymentVersionVcsCommit
,Cloneable
@Entity
public class MutableDeploymentVersionVcsCommitImpl
extends BambooEntityObject
implements MutableDeploymentVersionVcsCommit
-
Constructor Summary
ConstructorDescriptionMutableDeploymentVersionVcsCommitImpl
(MutableDeploymentVersionVcsChangeset changeset, Author author, String changeSetId, String comment, Date date) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
@NotNull MutableDeploymentVersionVcsChangeset
@NotNull String
getDate()
int
hashCode()
void
void
setChangeset
(@NotNull MutableDeploymentVersionVcsChangeset changeset) void
setChangeSetId
(String changeSetId) void
setComment
(@NotNull String comment) void
toString()
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Constructor Details
-
MutableDeploymentVersionVcsCommitImpl
public MutableDeploymentVersionVcsCommitImpl() -
MutableDeploymentVersionVcsCommitImpl
public MutableDeploymentVersionVcsCommitImpl(MutableDeploymentVersionVcsChangeset changeset, Author author, String changeSetId, String comment, Date date)
-
-
Method Details
-
getChangeset
- Specified by:
getChangeset
in interfaceMutableDeploymentVersionVcsCommit
-
setChangeset
- Specified by:
setChangeset
in interfaceMutableDeploymentVersionVcsCommit
-
getAuthor
- Specified by:
getAuthor
in interfaceInternalDeploymentVersionVcsCommit
- Returns:
Author
who made the commit
-
setAuthor
- Specified by:
setAuthor
in interfaceMutableDeploymentVersionVcsCommit
-
getComment
- Specified by:
getComment
in interfaceInternalDeploymentVersionVcsCommit
- Returns:
- the commit comment
-
setComment
- Specified by:
setComment
in interfaceMutableDeploymentVersionVcsCommit
-
getDate
- Specified by:
getDate
in interfaceInternalDeploymentVersionVcsCommit
- Returns:
Date
of commit.
-
setDate
- Specified by:
setDate
in interfaceMutableDeploymentVersionVcsCommit
-
getChangeSetId
- Specified by:
getChangeSetId
in interfaceInternalDeploymentVersionVcsCommit
- Returns:
- VCS identifier for this changeset
-
setChangeSetId
- Specified by:
setChangeSetId
in interfaceMutableDeploymentVersionVcsCommit
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
equals
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
compareTo
-
toString
-