com.atlassian.bamboo.utils
Class BambooPredicates
java.lang.Object
com.atlassian.bamboo.utils.BambooPredicates
public class BambooPredicates
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getNotDeletedPredicate
@NotNull
public static com.google.common.base.Predicate<Deletable> getNotDeletedPredicate()
stringIsNotEmpty
@NotNull
public static com.google.common.base.Predicate<java.lang.String> stringIsNotEmpty()
resultsSummaryIsFailed
@NotNull
public static com.google.common.base.Predicate<ResultsSummary> resultsSummaryIsFailed()
resultsSummaryIsSuccessful
@NotNull
public static com.google.common.base.Predicate<ResultsSummary> resultsSummaryIsSuccessful()
isAssignableFrom
@NotNull
public static <T> com.google.common.base.Predicate<? super java.lang.Class<? extends T>> isAssignableFrom(java.lang.Class clazz)
projectIsNotEmpty
@NotNull
public static com.google.common.base.Predicate<Project> projectIsNotEmpty(@NotNull
PlanManager planManager)
- Return predicate for filtering not empty projects (those which contain at least 1 plan)
- Parameters:
planManager
- plan manager component
- Returns:
- Predicate object
dependencyChildIsBuild
@NotNull
public static com.google.common.base.Predicate<PlanDependency> dependencyChildIsBuild()
dependencyChildIsChain
@NotNull
public static com.google.common.base.Predicate<PlanDependency> dependencyChildIsChain()
dependencyParentIsBuild
@NotNull
public static com.google.common.base.Predicate<PlanDependency> dependencyParentIsBuild()
dependencyParentIsChain
@NotNull
public static com.google.common.base.Predicate<PlanDependency> dependencyParentIsChain()
dependencyNotEditable
@NotNull
public static com.google.common.base.Predicate<PlanDependency> dependencyNotEditable()
testResultsInteresting
@NotNull
public static com.google.common.base.Predicate<TestClassResult> testResultsInteresting()
planHasBuilderOfKey
@NotNull
public static com.google.common.base.Predicate<Plan> planHasBuilderOfKey(@NotNull
java.lang.String builderKey)
labelNameIn
@NotNull
public static com.google.common.base.Predicate<Labelling> labelNameIn(@NotNull
java.lang.Iterable<java.lang.String> labelNames)
Copyright © 2010 Atlassian. All Rights Reserved.