Package org.jesterj.ingest.model.impl
Class StepImpl.Builder
- java.lang.Object
-
- org.jesterj.ingest.model.impl.NamedBuilder<StepImpl>
-
- org.jesterj.ingest.model.impl.StepImpl.Builder
-
- All Implemented Interfaces:
Buildable<StepImpl>,ConfiguredBuildable<StepImpl>
- Direct Known Subclasses:
ScannerImpl.Builder
- Enclosing class:
- StepImpl
public static class StepImpl.Builder extends NamedBuilder<StepImpl>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepImpl.BuilderbatchSize(int size)StepImplbuild()Should only be called by a PlanImplprotected StepImplgetObj()java.lang.StringgetStepName()Used when assembling steps into a planStepImpl.Buildernamed(java.lang.String stepName)StepImpl.BuilderroutingBy(RouterBase.Builder<? extends Router> router)StepImpl.BuilderwithProcessor(ConfiguredBuildable<? extends DocumentProcessor> processor)StepImpl.BuilderwithShutdownWait(int millis)-
Methods inherited from class org.jesterj.ingest.model.impl.NamedBuilder
isValid
-
-
-
-
Method Detail
-
getObj
protected StepImpl getObj()
- Overrides:
getObjin classNamedBuilder<StepImpl>
-
batchSize
public StepImpl.Builder batchSize(int size)
-
named
public StepImpl.Builder named(java.lang.String stepName)
- Specified by:
namedin classNamedBuilder<StepImpl>
-
withShutdownWait
public StepImpl.Builder withShutdownWait(int millis)
-
routingBy
public StepImpl.Builder routingBy(RouterBase.Builder<? extends Router> router)
-
withProcessor
public StepImpl.Builder withProcessor(ConfiguredBuildable<? extends DocumentProcessor> processor)
-
getStepName
public java.lang.String getStepName()
Used when assembling steps into a plan- Returns:
- the name of the step
-
build
public StepImpl build()
Should only be called by a PlanImpl- Returns:
- the immutable step instance.
-
-