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
Constructors Constructor Description MutableDeploymentVersionVcsCommitImpl()
MutableDeploymentVersionVcsCommitImpl(MutableDeploymentVersionVcsChangeset changeset, Author author, String changeSetId, String comment, Date date)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Object obj)
boolean
equals(Object o)
Author
getAuthor()
@NotNull MutableDeploymentVersionVcsChangeset
getChangeset()
String
getChangeSetId()
@NotNull String
getComment()
Date
getDate()
int
hashCode()
void
setAuthor(Author author)
void
setChangeset(@NotNull MutableDeploymentVersionVcsChangeset changeset)
void
setChangeSetId(String changeSetId)
void
setComment(@NotNull String comment)
void
setDate(Date date)
String
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 Detail
-
MutableDeploymentVersionVcsCommitImpl
public MutableDeploymentVersionVcsCommitImpl()
-
MutableDeploymentVersionVcsCommitImpl
public MutableDeploymentVersionVcsCommitImpl(MutableDeploymentVersionVcsChangeset changeset, Author author, String changeSetId, String comment, Date date)
-
-
Method Detail
-
getChangeset
@NotNull public @NotNull MutableDeploymentVersionVcsChangeset getChangeset()
- Specified by:
getChangeset
in interfaceMutableDeploymentVersionVcsCommit
-
setChangeset
public void setChangeset(@NotNull @NotNull MutableDeploymentVersionVcsChangeset changeset)
- Specified by:
setChangeset
in interfaceMutableDeploymentVersionVcsCommit
-
getAuthor
public Author getAuthor()
- Specified by:
getAuthor
in interfaceInternalDeploymentVersionVcsCommit
- Returns:
Author
who made the commit
-
setAuthor
public void setAuthor(Author author)
- Specified by:
setAuthor
in interfaceMutableDeploymentVersionVcsCommit
-
getComment
@NotNull public @NotNull String getComment()
- Specified by:
getComment
in interfaceInternalDeploymentVersionVcsCommit
- Returns:
- the commit comment
-
setComment
public void setComment(@NotNull @NotNull String comment)
- Specified by:
setComment
in interfaceMutableDeploymentVersionVcsCommit
-
getDate
public Date getDate()
- Specified by:
getDate
in interfaceInternalDeploymentVersionVcsCommit
- Returns:
Date
of commit.
-
setDate
public void setDate(Date date)
- Specified by:
setDate
in interfaceMutableDeploymentVersionVcsCommit
-
getChangeSetId
public String getChangeSetId()
- Specified by:
getChangeSetId
in interfaceInternalDeploymentVersionVcsCommit
- Returns:
- VCS identifier for this changeset
-
setChangeSetId
public void setChangeSetId(String changeSetId)
- Specified by:
setChangeSetId
in interfaceMutableDeploymentVersionVcsCommit
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
compareTo
public int compareTo(Object obj)
-
-