public class ProjectPredicates extends Object
Constructor and Description |
---|
ProjectPredicates() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<Project> |
hasPlansThat(CachedPlanManager cachedPlanManager,
com.google.common.base.Predicate<? super ImmutablePlan> planFilter)
Deprecated.
|
static com.google.common.base.Predicate<Project> |
isEmpty(CachedPlanManager cachedPlanManager)
Returns predicate that filters project containing no plans.
|
static com.google.common.base.Predicate<Project> |
isNotEmpty(CachedPlanManager cachedPlanManager)
Returns predicate that filters project containing at least one plan.
|
static Predicate<Project> |
withPlansThat(CachedPlanManager cachedPlanManager,
Predicate<? super ImmutableChain> planFilter)
Returns predicate that filters project containing plans that match given plan predicate.
|
@Deprecated public static com.google.common.base.Predicate<Project> hasPlansThat(@NotNull CachedPlanManager cachedPlanManager, @NotNull com.google.common.base.Predicate<? super ImmutablePlan> planFilter)
withPlansThat(CachedPlanManager, java.util.function.Predicate)
CachedPlanManager
to avoid unnecessary DB hits.cachedPlanManager
- planFilter
- public static Predicate<Project> withPlansThat(@NotNull CachedPlanManager cachedPlanManager, @NotNull Predicate<? super ImmutableChain> planFilter)
CachedPlanManager
to avoid unnecessary DB hits.cachedPlanManager
- planFilter
- public static com.google.common.base.Predicate<Project> isEmpty(@NotNull CachedPlanManager cachedPlanManager)
CachedPlanManager
to avoid unnecessary DB hits.cachedPlanManager
- public static com.google.common.base.Predicate<Project> isNotEmpty(@NotNull CachedPlanManager cachedPlanManager)
CachedPlanManager
to avoid unnecessary DB hits.cachedPlanManager
- Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.