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
ConstructorsConstructorDescriptionMutableDeploymentVersionVcsCommitImpl(MutableDeploymentVersionVcsChangeset changeset, Author author, String changeSetId, String comment, Date date) -
Method Summary
Modifier and TypeMethodDescriptionintboolean@NotNull MutableDeploymentVersionVcsChangeset@NotNull StringgetDate()inthashCode()voidvoidsetChangeset(@NotNull MutableDeploymentVersionVcsChangeset changeset) voidsetChangeSetId(String changeSetId) voidsetComment(@NotNull String comment) voidtoString()Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods 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:
getChangesetin interfaceMutableDeploymentVersionVcsCommit
-
setChangeset
- Specified by:
setChangesetin interfaceMutableDeploymentVersionVcsCommit
-
getAuthor
- Specified by:
getAuthorin interfaceInternalDeploymentVersionVcsCommit- Returns:
Authorwho made the commit
-
setAuthor
- Specified by:
setAuthorin interfaceMutableDeploymentVersionVcsCommit
-
getComment
- Specified by:
getCommentin interfaceInternalDeploymentVersionVcsCommit- Returns:
- the commit comment
-
setComment
- Specified by:
setCommentin interfaceMutableDeploymentVersionVcsCommit
-
getDate
- Specified by:
getDatein interfaceInternalDeploymentVersionVcsCommit- Returns:
Dateof commit.
-
setDate
- Specified by:
setDatein interfaceMutableDeploymentVersionVcsCommit
-
getChangeSetId
- Specified by:
getChangeSetIdin interfaceInternalDeploymentVersionVcsCommit- Returns:
- VCS identifier for this changeset
-
setChangeSetId
- Specified by:
setChangeSetIdin interfaceMutableDeploymentVersionVcsCommit
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.atlassian.core.bean.EntityObject
-
equals
- Overrides:
equalsin classcom.atlassian.core.bean.EntityObject
-
compareTo
-
toString
-