|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.utils.BambooPredicates
public class BambooPredicates
Method Summary | ||
---|---|---|
static com.google.common.base.Predicate<BuildAgent> |
buildAgentIsActive()
|
|
static com.google.common.base.Predicate<BuildAgent> |
buildAgentIsActiveAndEnabled()
|
|
static com.google.common.base.Predicate<BuildAgent> |
buildAgentIsBusy()
|
|
static com.google.common.base.Predicate<BuildAgent> |
buildAgentIsEnabled()
|
|
static com.google.common.base.Predicate<Capability> |
capabilityKeyStartsWith(java.lang.String prefix)
Get a predicate that returns true for Capability which key starts with given prefix |
|
static com.google.common.base.Predicate<PlanDependency> |
dependencyChildIsBuild()
|
|
static com.google.common.base.Predicate<PlanDependency> |
dependencyChildIsChain()
|
|
static com.google.common.base.Predicate<PlanDependency> |
dependencyNotEditable()
|
|
static com.google.common.base.Predicate<PlanDependency> |
dependencyParentIsBuild()
|
|
static com.google.common.base.Predicate<PlanDependency> |
dependencyParentIsChain()
|
|
static com.google.common.base.Predicate<ElasticInstanceSchedule> |
elasticInstanceScheduleIsEnabled()
|
|
static com.google.common.base.Predicate<Deletable> |
getNotDeletedPredicate()
|
|
static com.google.common.base.Predicate<TaskDefinition> |
hasTaskDefinitionEqualId(long id)
|
|
static
|
isAssignableFrom(java.lang.Class clazz)
|
|
static com.google.common.base.Predicate<TaskDefinition> |
isFinalizingTaskDefinition()
Get a predicate that returns true for TaskDefinition which are marked as "finalizing" |
|
static com.google.common.base.Predicate<TaskIdentifier> |
isTaskDefinitionPluginKeyEqual(java.lang.String pluginKey)
Get a predicate that returns true for TaskDefinition that has equal pluginKey |
|
static com.google.common.base.Predicate<TaskResult> |
isTaskResultPluginKeyEqual(java.lang.String pluginKey)
Get a predicate that returns true for TaskResult which TaskDefinition has equal pluginKey |
|
static com.google.common.base.Predicate<Labelling> |
labelNameIn(java.lang.Iterable<java.lang.String> labelNames)
|
|
static com.google.common.base.Predicate<Plan> |
planHasBuilderOfKey(java.lang.String builderKey)
Deprecated. |
|
static com.google.common.base.Predicate<Project> |
projectIsNotEmpty(PlanManager planManager)
Return predicate for filtering not empty projects (those which contain at least 1 plan) |
|
static com.google.common.base.Predicate<ResultsSummary> |
resultsSummaryIsFailed()
|
|
static com.google.common.base.Predicate<ResultsSummary> |
resultsSummaryIsInProgress()
|
|
static com.google.common.base.Predicate<ResultsSummary> |
resultsSummaryIsSuccessful()
|
|
static com.google.common.base.Predicate<java.lang.String> |
stringIsNotEmpty()
|
|
static com.google.common.base.Predicate<SystemProperty> |
systemPropertyHasValue()
|
|
static com.google.common.base.Predicate<TestClassResult> |
testResultsInteresting()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@NotNull public static com.google.common.base.Predicate<Deletable> getNotDeletedPredicate()
@NotNull public static com.google.common.base.Predicate<java.lang.String> stringIsNotEmpty()
@NotNull public static com.google.common.base.Predicate<ResultsSummary> resultsSummaryIsFailed()
@NotNull public static com.google.common.base.Predicate<ResultsSummary> resultsSummaryIsSuccessful()
@NotNull public static com.google.common.base.Predicate<ResultsSummary> resultsSummaryIsInProgress()
@NotNull public static <T> com.google.common.base.Predicate<? super java.lang.Class<? extends T>> isAssignableFrom(java.lang.Class clazz)
@NotNull public static com.google.common.base.Predicate<Project> projectIsNotEmpty(@NotNull PlanManager planManager)
planManager
- plan manager component
@NotNull public static com.google.common.base.Predicate<PlanDependency> dependencyChildIsBuild()
@NotNull public static com.google.common.base.Predicate<PlanDependency> dependencyChildIsChain()
@NotNull public static com.google.common.base.Predicate<PlanDependency> dependencyParentIsBuild()
@NotNull public static com.google.common.base.Predicate<PlanDependency> dependencyParentIsChain()
@NotNull public static com.google.common.base.Predicate<PlanDependency> dependencyNotEditable()
@NotNull public static com.google.common.base.Predicate<TestClassResult> testResultsInteresting()
@Deprecated @NotNull public static com.google.common.base.Predicate<Plan> planHasBuilderOfKey(@NotNull java.lang.String builderKey)
@NotNull public static com.google.common.base.Predicate<Labelling> labelNameIn(@NotNull java.lang.Iterable<java.lang.String> labelNames)
@NotNull public static com.google.common.base.Predicate<BuildAgent> buildAgentIsActive()
@NotNull public static com.google.common.base.Predicate<BuildAgent> buildAgentIsActiveAndEnabled()
@NotNull public static com.google.common.base.Predicate<BuildAgent> buildAgentIsBusy()
@NotNull public static com.google.common.base.Predicate<BuildAgent> buildAgentIsEnabled()
@NotNull public static com.google.common.base.Predicate<ElasticInstanceSchedule> elasticInstanceScheduleIsEnabled()
@NotNull public static com.google.common.base.Predicate<SystemProperty> systemPropertyHasValue()
public static com.google.common.base.Predicate<TaskDefinition> isFinalizingTaskDefinition()
public static com.google.common.base.Predicate<TaskDefinition> hasTaskDefinitionEqualId(long id)
public static com.google.common.base.Predicate<TaskIdentifier> isTaskDefinitionPluginKeyEqual(@NotNull java.lang.String pluginKey)
TaskDefinition
that has equal pluginKey
pluginKey
- id to be matched in TaskDefinition
public static com.google.common.base.Predicate<TaskResult> isTaskResultPluginKeyEqual(@NotNull java.lang.String pluginKey)
TaskResult
which TaskDefinition
has equal pluginKey
pluginKey
- id to be matched in TaskDefinition
public static com.google.common.base.Predicate<Capability> capabilityKeyStartsWith(@NotNull java.lang.String prefix)
Capability
which key starts with given prefix
prefix
- prefix to be matched in Capability
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |