Package com.atlassian.bamboo.repository
Class PlanRepositoryLinkDtoImpl
java.lang.Object
com.atlassian.bamboo.repository.PlanRepositoryLinkDtoImpl
- All Implemented Interfaces:
PlanRepositoryLinkDto
-
Constructor Summary
ConstructorDescriptionPlanRepositoryLinkDtoImpl
(long planId, long repositoryDataId, Long parentRepositoryId, int position) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PlanRepositoryLinkDto
createForPosition
(PlanRepositoryLinkDto source, int position) static @NotNull PlanRepositoryLinkDto
createFromPlanRepositoryDefinition
(@NotNull ImmutableChain owner, @NotNull PlanRepositoryDefinition rd) @Nullable Long
long
int
@org.jetbrains.annotations.NotNull long
-
Constructor Details
-
PlanRepositoryLinkDtoImpl
public PlanRepositoryLinkDtoImpl(long planId, long repositoryDataId, Long parentRepositoryId, int position)
-
-
Method Details
-
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:
getPlanId
in interfacePlanRepositoryLinkDto
-
getRepositoryDataId
@NotNull public @org.jetbrains.annotations.NotNull long getRepositoryDataId()- Specified by:
getRepositoryDataId
in interfacePlanRepositoryLinkDto
-
getParentRepositoryId
- Specified by:
getParentRepositoryId
in interfacePlanRepositoryLinkDto
-
getPosition
public int getPosition()- Specified by:
getPosition
in interfacePlanRepositoryLinkDto
- Returns:
- position of the repository in the plan repository list
-