public class SkipTailPolicy
extends java.lang.Object
Constructor and Description |
---|
SkipTailPolicy() |
Modifier and Type | Method and Description |
---|---|
static ome.services.graphs.GraphPolicy |
getSkipTailPolicy(ome.services.graphs.GraphPolicy graphPolicy,
java.util.function.Predicate<java.lang.Class<? extends ome.model.IObject>> isSkipClass)
Adjust an existing graph traversal policy so that processing stops at certain model object classes.
|
public static ome.services.graphs.GraphPolicy getSkipTailPolicy(ome.services.graphs.GraphPolicy graphPolicy, java.util.function.Predicate<java.lang.Class<? extends ome.model.IObject>> isSkipClass)
graphPolicy
- the graph policy to adjustisSkipClass
- if a given class should be not be reviewed or acted on