public final class CommitterContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CommitterContext.Builder |
Modifier and Type | Method and Description |
---|---|
static CommitterContext.Builder |
builder() |
boolean |
equals(Object other) |
EventManager |
getEventManager() |
CachedStreamFactory |
getStreamFactory() |
Path |
getWorkDir()
Gets a unique working directory for a committer (if one is needed).
|
int |
hashCode() |
String |
toString() |
CommitterContext |
withEventManager(EventManager eventManager) |
CommitterContext |
withStreamFactory(CachedStreamFactory streamFactory) |
CommitterContext |
withWorkdir(Path workDir) |
public EventManager getEventManager()
public Path getWorkDir()
null
)public CachedStreamFactory getStreamFactory()
public CommitterContext withEventManager(EventManager eventManager)
public CommitterContext withWorkdir(Path workDir)
public CommitterContext withStreamFactory(CachedStreamFactory streamFactory)
public static CommitterContext.Builder builder()
Copyright © 2009–2022 Norconex Inc.. All rights reserved.