Package one.microstream.util.traversing
Interface ObjectGraphTraverserBuilder
-
- All Known Implementing Classes:
ObjectGraphTraverserBuilder.Default
public interface ObjectGraphTraverserBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ObjectGraphTraverserBuilder.Default
-
Method Summary
-
-
-
Method Detail
-
buildObjectGraphTraverser
ObjectGraphTraverser buildObjectGraphTraverser()
-
skip
TraversalFilter<TraversalPredicateSkip> skip()
-
node
TraversalFilter<TraversalPredicateNode> node()
-
leaf
TraversalFilter<TraversalPredicateLeaf> leaf()
-
full
TraversalFilter<TraversalPredicateFull> full()
-
traversersPerInstance
XTable<Object,TypeTraverser<?>> traversersPerInstance()
-
traversersPerConcreteType
XTable<Class<?>,TypeTraverser<?>> traversersPerConcreteType()
-
traversersPerPolymorphType
XTable<Class<?>,TypeTraverser<?>> traversersPerPolymorphType()
-
fieldSelector
TraversalFieldSelector fieldSelector()
-
alreadyHandledProvider
Function<XGettingCollection<Object>,XSet<Object>> alreadyHandledProvider()
-
typeTraverserCreator
TypeTraverser.Creator typeTraverserCreator()
-
acceptor
TraversalAcceptor acceptor()
-
mutator
TraversalMutator mutator()
-
mutationListener
MutationListener mutationListener()
-
traversalMode
TraversalMode traversalMode()
-
referenceHandlerProvider
TraversalReferenceHandlerProvider referenceHandlerProvider()
-
roots
Object[] roots()
-
fieldSelector
ObjectGraphTraverserBuilder fieldSelector(TraversalFieldSelector fieldSelector)
-
fieldPredicate
ObjectGraphTraverserBuilder fieldPredicate(Predicate<? super Field> predicate)
-
alreadyHandledProvider
ObjectGraphTraverserBuilder alreadyHandledProvider(Function<XGettingCollection<Object>,XSet<Object>> alreadyHandledProvider)
-
typeTraverserCreator
ObjectGraphTraverserBuilder typeTraverserCreator(TypeTraverser.Creator typeTraverserCreator)
-
acceptor
ObjectGraphTraverserBuilder acceptor(TraversalAcceptor acceptor)
-
acceptorPredicate
ObjectGraphTraverserBuilder acceptorPredicate(Predicate<Object> acceptorPredicate)
-
acceptorLogic
ObjectGraphTraverserBuilder acceptorLogic(Consumer<Object> acceptorLogic)
-
mutator
ObjectGraphTraverserBuilder mutator(TraversalMutator mutator)
-
mutatorPredicate
ObjectGraphTraverserBuilder mutatorPredicate(Predicate<Object> mutatorPredicate)
-
mutatorLogic
ObjectGraphTraverserBuilder mutatorLogic(Function<Object,Object> mutatorLogic)
-
mutationListener
ObjectGraphTraverserBuilder mutationListener(MutationListener mutationListener)
-
traversalMode
ObjectGraphTraverserBuilder traversalMode(TraversalMode traversalMode)
-
referenceHandlerProvider
ObjectGraphTraverserBuilder referenceHandlerProvider(TraversalReferenceHandlerProvider referenceHandlerProvider)
-
roots
ObjectGraphTraverserBuilder roots(Object... roots)
-
modeNode
default ObjectGraphTraverserBuilder modeNode()
-
modeFull
default ObjectGraphTraverserBuilder modeFull()
-
modeLeaf
default ObjectGraphTraverserBuilder modeLeaf()
-
apply
default ObjectGraphTraverserBuilder apply(Consumer<Object> logic)
-
apply
ObjectGraphTraverserBuilder apply(Predicate<Object> predicate, Consumer<Object> logic)
-
apply
<T> ObjectGraphTraverserBuilder apply(Class<T> type, Consumer<? super T> logic)
-
mutate
default ObjectGraphTraverserBuilder mutate(Function<Object,Object> logic)
-
mutate
ObjectGraphTraverserBuilder mutate(Predicate<Object> predicate, Function<Object,?> logic)
-
mutate
<T> ObjectGraphTraverserBuilder mutate(Class<T> type, Function<? super T,?> logic)
-
initializerLogic
ObjectGraphTraverserBuilder initializerLogic(Runnable logic)
-
initializerLogic
Runnable initializerLogic()
-
finalizerLogic
ObjectGraphTraverserBuilder finalizerLogic(Runnable logic)
-
finalizerLogic
Runnable finalizerLogic()
-
root
default ObjectGraphTraverserBuilder root(Object root)
-
registerTraverser
default <T> ObjectGraphTraverserBuilder registerTraverser(Object instance, TypeTraverser<T> traverser)
-
registerTraverserForType
default <T> ObjectGraphTraverserBuilder registerTraverserForType(Class<? extends T> type, TypeTraverser<T> traverser)
-
registerTraverserForTypePolymorphic
default <T> ObjectGraphTraverserBuilder registerTraverserForTypePolymorphic(Class<? extends T> type, TypeTraverser<T> traverser)
-
provideReferenceHandlerProvider
TraversalReferenceHandlerProvider provideReferenceHandlerProvider()
-
provideAcceptor
TraversalAcceptor provideAcceptor()
-
provideMutator
TraversalMutator provideMutator()
-
provideSkippedInstances
XGettingSet<Object> provideSkippedInstances()
-
predicateHandle
ObjectGraphTraverserBuilder predicateHandle(Predicate<Object> predicate)
-
defaultSkipTypesConcrete
static XGettingSet<Class<?>> defaultSkipTypesConcrete()
-
defaultSkipTypesPolymorphic
static XGettingEnum<Class<?>> defaultSkipTypesPolymorphic()
-
defaultPolymorphTypeTraversers
static XGettingTable<Class<?>,TypeTraverser<?>> defaultPolymorphTypeTraversers()
-
defaultConcreteTypeTraversers
static XGettingTable<Class<?>,TypeTraverser<?>> defaultConcreteTypeTraversers()
-
New
static ObjectGraphTraverserBuilder New()
-
-