public final class TraversalContext<BE,E extends AbstractElement<?,?>> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TraversalContext.Builder<BE,E extends AbstractElement<?,?>>
Builds a new traversal context.
|
| Modifier and Type | Field and Description |
|---|---|
protected InventoryBackend<BE> |
backend
The inventory backend to be used for querying and persistence.
|
protected Configuration |
configuration
The user provided configuration.
|
protected Class<E> |
entityClass
The type of the entity currently being sought after.
|
protected BaseInventory<BE> |
inventory
The inventory instance we're operating in.
|
protected TraversalContext<BE,?> |
previous
The previous context, from which this one was created.
|
protected Query |
selectCandidates
A query that will select the entities of interest from the
sourcePath. |
protected Query |
sourcePath
The query to the "point" right before the entities of interest.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getTransactionRetriesCount() |
protected final BaseInventory<BE> inventory
protected final Query sourcePath
protected final Query selectCandidates
sourcePath.protected final InventoryBackend<BE> backend
protected final Class<E extends AbstractElement<?,?>> entityClass
protected final Configuration configuration
protected final TraversalContext<BE,?> previous
Copyright © 2015 Red Hat, Inc.. All rights reserved.