Package com.norconex.committer.core
Class CommitterContext
java.lang.Object
com.norconex.committer.core.CommitterContext
Holds objects defined outside a committer but useful or required for the
committer execution.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CommitterContext.Builderbuilder()booleanGets a unique working directory for a committer (if one is needed).inthashCode()toString()withEventManager(EventManager eventManager) withStreamFactory(CachedStreamFactory streamFactory) withWorkdir(Path workDir)
-
Method Details
-
getEventManager
-
getWorkDir
Gets a unique working directory for a committer (if one is needed).- Returns:
- working directory (never
null)
-
getStreamFactory
-
withEventManager
-
withWorkdir
-
withStreamFactory
-
builder
-
toString
-
equals
-
hashCode
public int hashCode()
-