Package com.atlassian.bamboo.repository
Class PlanRepositoryLinkImpl
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.core.BambooEntityObject
-
- com.atlassian.bamboo.hibernate.HibernateBambooEntityObject
-
- com.atlassian.bamboo.repository.PlanRepositoryLinkImpl
-
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,PlanRepositoryLink
,VersionedEntityComponent<Plan>
,Cloneable
@Entity public class PlanRepositoryLinkImpl extends HibernateBambooEntityObject implements PlanRepositoryLink
-
-
Constructor Summary
Constructors Constructor Description PlanRepositoryLinkImpl()
PlanRepositoryLinkImpl(Plan plan, RepositoryDataEntity repositoryDataEntity, int position)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull Plan
getPlan()
int
getPosition()
@NotNull RepositoryDataEntity
getRepositoryDataEntity()
@Nullable Plan
getRoot()
Returns the versioned root of the object.boolean
isBuildTrigger()
Deprecated.since 4.3void
setBuildTrigger(boolean buildTrigger)
Deprecated.since 4.3void
setPlan(@NotNull Plan plan)
void
setPosition(int position)
void
setRepositoryDataEntity(@NotNull RepositoryDataEntity repositoryDataEntity)
-
Methods inherited from class com.atlassian.bamboo.hibernate.HibernateBambooEntityObject
getId, setId
-
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, 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
-
-
-
-
Constructor Detail
-
PlanRepositoryLinkImpl
public PlanRepositoryLinkImpl()
-
PlanRepositoryLinkImpl
public PlanRepositoryLinkImpl(Plan plan, RepositoryDataEntity repositoryDataEntity, int position)
-
-
Method Detail
-
getPlan
@NotNull public @NotNull Plan getPlan()
- Specified by:
getPlan
in interfacePlanRepositoryLink
-
setPlan
public void setPlan(@NotNull @NotNull Plan plan)
- Specified by:
setPlan
in interfacePlanRepositoryLink
-
getRepositoryDataEntity
@NotNull public @NotNull RepositoryDataEntity getRepositoryDataEntity()
- Specified by:
getRepositoryDataEntity
in interfacePlanRepositoryLink
-
setRepositoryDataEntity
public void setRepositoryDataEntity(@NotNull @NotNull RepositoryDataEntity repositoryDataEntity)
- Specified by:
setRepositoryDataEntity
in interfacePlanRepositoryLink
-
getPosition
public int getPosition()
- Specified by:
getPosition
in interfacePlanRepositoryLink
- Returns:
- position of the repository in the plan repository list
-
setPosition
public void setPosition(int position)
- Specified by:
setPosition
in interfacePlanRepositoryLink
-
isBuildTrigger
@Deprecated public boolean isBuildTrigger()
Deprecated.since 4.3
-
setBuildTrigger
@Deprecated public void setBuildTrigger(boolean buildTrigger)
Deprecated.since 4.3
-
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
-
-