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