|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plan.PlanPredicates
public class PlanPredicates
Constructor Summary | |
---|---|
PlanPredicates()
|
Method Summary | |
---|---|
static com.google.common.base.Predicate<Plan> |
isCloverEnabled()
Get a predicate that returns true for Plans that are Clover enabled. |
static com.google.common.base.Predicate<Plan> |
isFavourite(LabelManager labelManager,
com.atlassian.user.User user)
Get a predicate that returns true for Plans that are marked as favourite for a given user. |
static com.google.common.base.Predicate<Plan> |
isSuspendedFromBuilding()
Get a predicate that returns true for Plans that are marked as suspended from building. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlanPredicates()
Method Detail |
---|
public static com.google.common.base.Predicate<Plan> isCloverEnabled()
java.lang.NullPointerException
- when it operates on a null elementpublic static com.google.common.base.Predicate<Plan> isFavourite(LabelManager labelManager, com.atlassian.user.User user)
labelManager
- LabelManager
user
- User
whose favourites would be tested
java.lang.NullPointerException
- when it operates on a null elementpublic static com.google.common.base.Predicate<Plan> isSuspendedFromBuilding()
java.lang.NullPointerException
- when it operates on a null element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |