Package com.atlassian.bamboo.repository
Class PlanRepositoryLinkDtoImpl
- java.lang.Object
-
- com.atlassian.bamboo.repository.PlanRepositoryLinkDtoImpl
-
- All Implemented Interfaces:
PlanRepositoryLinkDto
public class PlanRepositoryLinkDtoImpl extends Object implements PlanRepositoryLinkDto
-
-
Constructor Summary
Constructors Constructor Description PlanRepositoryLinkDtoImpl(long planId, long repositoryDataId, Long parentRepositoryId, int position)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull PlanRepositoryLinkDtocreateForPosition(PlanRepositoryLinkDto source, int position)static @NotNull PlanRepositoryLinkDtocreateFromPlanRepositoryDefinition(@NotNull ImmutableChain owner, @NotNull PlanRepositoryDefinition rd)@Nullable LonggetParentRepositoryId()longgetPlanId()intgetPosition()@org.jetbrains.annotations.NotNull longgetRepositoryDataId()
-
-
-
Constructor Detail
-
PlanRepositoryLinkDtoImpl
public PlanRepositoryLinkDtoImpl(long planId, long repositoryDataId, Long parentRepositoryId, int position)
-
-
Method Detail
-
createForPosition
@NotNull public static @NotNull PlanRepositoryLinkDto createForPosition(PlanRepositoryLinkDto source, int position)
-
createFromPlanRepositoryDefinition
@NotNull public static @NotNull PlanRepositoryLinkDto createFromPlanRepositoryDefinition(@NotNull @NotNull ImmutableChain owner, @NotNull @NotNull PlanRepositoryDefinition rd)
-
getPlanId
public long getPlanId()
- Specified by:
getPlanIdin interfacePlanRepositoryLinkDto
-
getRepositoryDataId
@NotNull public @org.jetbrains.annotations.NotNull long getRepositoryDataId()
- Specified by:
getRepositoryDataIdin interfacePlanRepositoryLinkDto
-
getParentRepositoryId
@Nullable public @Nullable Long getParentRepositoryId()
- Specified by:
getParentRepositoryIdin interfacePlanRepositoryLinkDto
-
getPosition
public int getPosition()
- Specified by:
getPositionin interfacePlanRepositoryLinkDto- Returns:
- position of the repository in the plan repository list
-
-