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 PlangetPlan()intgetPosition()@NotNull RepositoryDataEntitygetRepositoryDataEntity()@Nullable PlangetRoot()Returns the versioned root of the object.booleanisBuildTrigger()Deprecated.since 4.3voidsetBuildTrigger(boolean buildTrigger)Deprecated.since 4.3voidsetPlan(@NotNull Plan plan)voidsetPosition(int position)voidsetRepositoryDataEntity(@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:
getPlanin interfacePlanRepositoryLink
-
setPlan
public void setPlan(@NotNull @NotNull Plan plan)- Specified by:
setPlanin interfacePlanRepositoryLink
-
getRepositoryDataEntity
@NotNull public @NotNull RepositoryDataEntity getRepositoryDataEntity()
- Specified by:
getRepositoryDataEntityin interfacePlanRepositoryLink
-
setRepositoryDataEntity
public void setRepositoryDataEntity(@NotNull @NotNull RepositoryDataEntity repositoryDataEntity)- Specified by:
setRepositoryDataEntityin interfacePlanRepositoryLink
-
getPosition
public int getPosition()
- Specified by:
getPositionin interfacePlanRepositoryLink- Returns:
- position of the repository in the plan repository list
-
setPosition
public void setPosition(int position)
- Specified by:
setPositionin 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:VersionedEntityComponentReturns the versioned root of the object.- Specified by:
getRootin interfaceVersionedEntityComponent<Plan>- Returns:
- the root of the object
-
-