com.atlassian.bamboo.deployments.versions.persistence.commits
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
public class MutableDeploymentVersionVcsCommitImpl
- extends BambooEntityObject
- implements MutableDeploymentVersionVcsCommit
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
MutableDeploymentVersionVcsCommitImpl
public MutableDeploymentVersionVcsCommitImpl()
MutableDeploymentVersionVcsCommitImpl
public MutableDeploymentVersionVcsCommitImpl(MutableDeploymentVersionVcsChangeset changeset,
Author author,
String changeSetId,
String comment,
Date date)
getChangeset
@NotNull
public MutableDeploymentVersionVcsChangeset getChangeset()
- Specified by:
getChangeset
in interface MutableDeploymentVersionVcsCommit
setChangeset
public void setChangeset(@NotNull
MutableDeploymentVersionVcsChangeset changeset)
- Specified by:
setChangeset
in interface MutableDeploymentVersionVcsCommit
getAuthor
public Author getAuthor()
- Specified by:
getAuthor
in interface InternalDeploymentVersionVcsCommit
- Returns:
Author
who made the commit
setAuthor
public void setAuthor(Author author)
- Specified by:
setAuthor
in interface MutableDeploymentVersionVcsCommit
getComment
@NotNull
public String getComment()
- Specified by:
getComment
in interface InternalDeploymentVersionVcsCommit
- Returns:
- the commit comment
setComment
public void setComment(@NotNull
String comment)
- Specified by:
setComment
in interface MutableDeploymentVersionVcsCommit
getDate
public Date getDate()
- Specified by:
getDate
in interface InternalDeploymentVersionVcsCommit
- Returns:
Date
of commit.
setDate
public void setDate(Date date)
- Specified by:
setDate
in interface MutableDeploymentVersionVcsCommit
getChangeSetId
public String getChangeSetId()
- Specified by:
getChangeSetId
in interface InternalDeploymentVersionVcsCommit
- Returns:
- VCS identifier for this changeset
setChangeSetId
public void setChangeSetId(String changeSetId)
- Specified by:
setChangeSetId
in interface MutableDeploymentVersionVcsCommit
hashCode
public int hashCode()
- Description copied from class:
BambooEntityObject
- This method needs to be here in order to use proper id
- Overrides:
hashCode
in class BambooEntityObject
equals
public boolean equals(Object o)
- Description copied from class:
BambooEntityObject
- This method needs to be here in order to use proper id
- Overrides:
equals
in class BambooEntityObject
compareTo
public int compareTo(Object obj)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.