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
ConstructorDescriptionPlanRepositoryLinkImpl
(Plan plan, RepositoryDataEntity repositoryDataEntity, int position) -
Method Summary
Modifier and TypeMethodDescription@NotNull Plan
getPlan()
int
@NotNull RepositoryDataEntity
@Nullable Plan
getRoot()
Returns the versioned root of the object.boolean
Deprecated.since 4.3void
setBuildTrigger
(boolean buildTrigger) Deprecated.since 4.3void
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 Details
-
PlanRepositoryLinkImpl
public PlanRepositoryLinkImpl() -
PlanRepositoryLinkImpl
-
-
Method Details
-
getPlan
- Specified by:
getPlan
in interfacePlanRepositoryLink
-
setPlan
- Specified by:
setPlan
in interfacePlanRepositoryLink
-
getRepositoryDataEntity
- Specified by:
getRepositoryDataEntity
in interfacePlanRepositoryLink
-
setRepositoryDataEntity
- 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.since 4.3 -
setBuildTrigger
Deprecated.since 4.3 -
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
-