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 int
compareTo(Object obj)
boolean
equals(Object o)
ResultsSummary
getBuildResultsSummary()
Label
getLabel()
Plan
getPlan()
Project
getProject()
@Nullable Plan
getRoot()
Returns the versioned root of the object.String
getUserName()
int
hashCode()
void
setBuildResultsSummary(ResultsSummary buildResultsSummary)
void
setLabel(Label label)
void
setPlan(Plan plan)
void
setProject(Project project)
void
setUserName(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:
getBuildResultsSummary
in interfaceLabelling
-
setBuildResultsSummary
public void setBuildResultsSummary(ResultsSummary buildResultsSummary)
- Specified by:
setBuildResultsSummary
in interfaceLabelling
-
getProject
public Project getProject()
- Specified by:
getProject
in interfaceLabelling
-
setProject
public void setProject(Project project)
- Specified by:
setProject
in interfaceLabelling
-
getUserName
public String getUserName()
- Specified by:
getUserName
in interfaceLabelling
-
setUserName
public void setUserName(String userName)
- Specified by:
setUserName
in interfaceLabelling
-
getRoot
@Nullable public @Nullable Plan getRoot()
Description copied from interface:VersionedEntityComponent
Returns the versioned root of the object.- Specified by:
getRoot
in interfaceVersionedEntityComponent<Plan>
- Returns:
- the root of the object
-
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)
-
-