public class LocationPredicates
extends java.lang.Object
Constructor and Description |
---|
LocationPredicates() |
Modifier and Type | Method and Description |
---|---|
static <T> <any> |
configEqualTo(ConfigKey.HasConfigKey<T> configKey,
T val) |
static <T> <any> |
configEqualTo(ConfigKey<T> configKey,
T val) |
static <T> <any> |
configSatisfies(ConfigKey.HasConfigKey<T> configKey,
<any> condition) |
static <T> <any> |
configSatisfies(ConfigKey<T> configKey,
<any> condition) |
static <any> |
displayNameEqualTo(java.lang.String val) |
static <any> |
displayNameSatisfies(<any> condition) |
static <any> |
idEqualTo(java.lang.String val) |
static <any> |
idSatisfies(<any> condition) |
static <any> |
isChildOf(Location parent)
Returns a predicate that determines if a given location is a direct child of this
parent . |
static <T> <any> |
isDescendantOf(Location ancestor)
Returns a predicate that determines if a given location is a descendant of this
ancestor . |
static <T> <any> |
managed() |
public static <any> idEqualTo(java.lang.String val)
public static <any> idSatisfies(<any> condition)
public static <any> displayNameEqualTo(java.lang.String val)
public static <any> displayNameSatisfies(<any> condition)
public static <T> <any> configEqualTo(ConfigKey<T> configKey, T val)
public static <T> <any> configSatisfies(ConfigKey<T> configKey, <any> condition)
public static <T> <any> configEqualTo(ConfigKey.HasConfigKey<T> configKey, T val)
public static <T> <any> configSatisfies(ConfigKey.HasConfigKey<T> configKey, <any> condition)
public static <any> isChildOf(Location parent)
parent
.public static <T> <any> isDescendantOf(Location ancestor)
ancestor
.public static <T> <any> managed()