Package org.jesterj.ingest.routers
Class RouterBase
- java.lang.Object
-
- org.jesterj.ingest.routers.RouterBase
-
- All Implemented Interfaces:
Configurable,Router
- Direct Known Subclasses:
DuplicateToAll,RoundRobinRouter,RouteByStepName
public abstract class RouterBase extends java.lang.Object implements Router
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRouterBase.Builder<T extends RouterBase>
-
Field Summary
-
Fields inherited from interface org.jesterj.ingest.model.Configurable
VALID_NAME
-
-
Constructor Summary
Constructors Constructor Description RouterBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepgetStep()The step into which the router is configured.voidupdateExcludedDestinations(Document doc, Step... destsSelected)Sets dropped status for any destinations not reachable from any of the supplied steps.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jesterj.ingest.model.Configurable
getName, isValidName
-
Methods inherited from interface org.jesterj.ingest.model.Router
getNumberOfOutputCopies, isConstantNumberOfOutputDocs, isDeterministic, route
-
-
-
-
Method Detail
-
getStep
public Step getStep()
Description copied from interface:RouterThe step into which the router is configured.
-
updateExcludedDestinations
public void updateExcludedDestinations(Document doc, Step... destsSelected)
Sets dropped status for any destinations not reachable from any of the supplied steps.- Parameters:
doc- the document for which statuses need to be updateddestsSelected- the steps that the document *will* be routed to.
-
-