@Beta public class StrategyPredicates extends Object
predicates that check for properties of
a DockerHostLocation.| Modifier and Type | Class and Description |
|---|---|
static class |
StrategyPredicates.ChildrenOfPredicate
A
Predicate that checks if a host contains
entities that are children of the given parent. |
static class |
StrategyPredicates.HasApplicationIdPredicate
A
Predicate that checks if a host contains
entities that have the specified application ID. |
static class |
StrategyPredicates.NonEmptyPredicate
A
Predicate that checks if a host has
deployed entities. |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Predicate<DockerHostLocation> |
childrenOf(org.apache.brooklyn.api.entity.Entity parent) |
static com.google.common.base.Predicate<DockerHostLocation> |
hasApplicationId(String applicationId) |
static com.google.common.base.Predicate<DockerHostLocation> |
nonEmpty() |
public static com.google.common.base.Predicate<DockerHostLocation> childrenOf(org.apache.brooklyn.api.entity.Entity parent)
ChildrenOfPredicate}public static com.google.common.base.Predicate<DockerHostLocation> hasApplicationId(String applicationId)
HasApplicationIdPredicate}public static com.google.common.base.Predicate<DockerHostLocation> nonEmpty()
NonEmptyPredicate}Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.