Class PlanVcsRevisionDataSet
- java.lang.Object
-
- com.atlassian.bamboo.plan.vcsRevision.PlanVcsRevisionDataSet
-
@PublicApi public class PlanVcsRevisionDataSet extends Object
Represents snapshot of plan's vcs revision history as mapping between repositories andPlanVcsRevisionData
-
-
Constructor Summary
Constructors Constructor Description PlanVcsRevisionDataSet(@NotNull Map<Long,PlanVcsRevisionData> revisionDataMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull PlanVcsRevisionData
get(long repositoryId)
boolean
isEmpty()
-
-
-
Constructor Detail
-
PlanVcsRevisionDataSet
public PlanVcsRevisionDataSet(@NotNull @NotNull Map<Long,PlanVcsRevisionData> revisionDataMap)
-
-
Method Detail
-
get
@NotNull public @NotNull PlanVcsRevisionData get(long repositoryId)
- Parameters:
repositoryId
-- Returns:
PlanVcsRevisionData
with the correct revision orPlanVcsRevisionData.NULL_REVISION
if repository is not found
-
isEmpty
public boolean isEmpty()
-
-