Package com.atlassian.bamboo.repository
Class RepositoryPredicates
java.lang.Object
com.atlassian.bamboo.repository.RepositoryPredicates
-
Method Summary
Modifier and TypeMethodDescriptionstatic Predicate<PlanRepositoryLink> hasPlanRepositoryLinkEqualRepositoryId(long repositoryId) Get a predicate that returns true forPlanRepositoryLinkwhich has equal repository idstatic Predicate<RepositoryPositionProvider> Get a predicate that returns true forPlanRepositoryDefinitionwhich is has position == 0 (is default)
-
Method Details
-
hasPlanRepositoryLinkEqualRepositoryId
public static Predicate<PlanRepositoryLink> hasPlanRepositoryLinkEqualRepositoryId(long repositoryId) Get a predicate that returns true forPlanRepositoryLinkwhich has equal repository id- Parameters:
repositoryId- id to be matched withPlanRepositoryLink.getRepositoryDataEntity()- Returns:
- Predicate object
-
isPlanRepositoryDefinitionDefault
Get a predicate that returns true forPlanRepositoryDefinitionwhich is has position == 0 (is default)- Returns:
- Predicate object
-