Package com.atlassian.bamboo.labels
Class LabellingImpl
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.core.BambooEntityObject
-
- com.atlassian.bamboo.hibernate.HibernateBambooEntityObject
-
- com.atlassian.bamboo.labels.LabellingImpl
-
- All Implemented Interfaces:
BambooIdProvider,BambooObject,Labelling,CreationDateProvider,VersionedEntityComponent<Plan>,Cloneable
@Entity public class LabellingImpl extends HibernateBambooEntityObject implements Labelling
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING
-
-
Constructor Summary
Constructors Constructor Description LabellingImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Object obj)booleanequals(Object o)ResultsSummarygetBuildResultsSummary()LabelgetLabel()PlangetPlan()ProjectgetProject()@Nullable PlangetRoot()Returns the versioned root of the object.StringgetUserName()inthashCode()voidsetBuildResultsSummary(ResultsSummary buildResultsSummary)voidsetLabel(Label label)voidsetPlan(Plan plan)voidsetProject(Project project)voidsetUserName(String userName)-
Methods inherited from class com.atlassian.bamboo.hibernate.HibernateBambooEntityObject
getId, setId
-
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Methods inherited from interface com.atlassian.bamboo.labels.Labelling
getCreationDate, getLastModificationDate, setCreationDate, setLastModificationDate
-
-
-
-
Method Detail
-
getBuildResultsSummary
public ResultsSummary getBuildResultsSummary()
- Specified by:
getBuildResultsSummaryin interfaceLabelling
-
setBuildResultsSummary
public void setBuildResultsSummary(ResultsSummary buildResultsSummary)
- Specified by:
setBuildResultsSummaryin interfaceLabelling
-
getProject
public Project getProject()
- Specified by:
getProjectin interfaceLabelling
-
setProject
public void setProject(Project project)
- Specified by:
setProjectin interfaceLabelling
-
getUserName
public String getUserName()
- Specified by:
getUserNamein interfaceLabelling
-
setUserName
public void setUserName(String userName)
- Specified by:
setUserNamein interfaceLabelling
-
getRoot
@Nullable public @Nullable Plan getRoot()
Description copied from interface:VersionedEntityComponentReturns the versioned root of the object.- Specified by:
getRootin interfaceVersionedEntityComponent<Plan>- Returns:
- the root of the object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.atlassian.core.bean.EntityObject
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.atlassian.core.bean.EntityObject
-
compareTo
public int compareTo(Object obj)
-
-