public final class With extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
With.CanonicalPaths |
static class |
With.Ids |
static class |
With.PropertyValues |
static class |
With.RelativePaths |
static class |
With.Types |
| Modifier and Type | Method and Description |
|---|---|
static With.Ids |
id(String id) |
static With.Ids |
ids(String... ids) |
static With.CanonicalPaths |
path(CanonicalPath path) |
static With.CanonicalPaths |
paths(CanonicalPath... paths) |
static With.PropertyValues |
property(String name)
Filters for entities that have a property of given name regardless of its value.
|
static With.PropertyValues |
propertyValue(String name,
Object value)
Filters for entities that have a property of given name equal to given value
|
static With.PropertyValues |
propertyValues(String name,
Object... values)
Filters for entities that have a property of given name equal to one of the provided values.
|
static With.RelativePaths |
relativePath(String markerLabel,
RelativePath path)
Constructs a new filter to only contain elements at the current position in the graph traversal that
can also be reached using the provided relative path.
|
static With.RelativePaths |
relativePaths(String markerLabel,
RelativePath... paths)
Constructs a new filter to only contain elements at the current position in the graph traversal that
can also be reached using at least one of the provided relative paths.
|
static With.Types |
type(Class<? extends Entity<?,?>> type) |
static With.Types |
types(Class<? extends Entity<?,?>>... types) |
@SafeVarargs public static With.Types types(Class<? extends Entity<?,?>>... types)
public static With.Types type(Class<? extends Entity<?,?>> type)
public static With.CanonicalPaths path(CanonicalPath path)
public static With.CanonicalPaths paths(CanonicalPath... paths)
public static With.RelativePaths relativePath(String markerLabel, RelativePath path)
If the label is null, the relative path is applied directly to the current position in the traversal.
markerLabel - the filter chain this filter is being added to can contain a Marker with this
label that marks the position against which the relative path would be resolved againstpath - the relative path of the elements.public static With.RelativePaths relativePaths(String markerLabel, RelativePath... paths)
If the label is null, the relative path is applied directly to the current position in the traversal.
markerLabel - the filter chain this filter is being added to can contain a Marker with this
label that marks the position against which the relative path would be resolved againstpaths - the relative paths of the elements.relativePath(String, RelativePath)public static With.PropertyValues property(String name)
name - the name of the propertypublic static With.PropertyValues propertyValue(String name, Object value)
name - the name of the propertyvalue - the desired valuepublic static With.PropertyValues propertyValues(String name, Object... values)
name - the name of the propertyvalues - the possible valuesCopyright © 2015 Red Hat, Inc.. All rights reserved.