public static class ContentFetcher.PostFetchContext extends FetcherContext.DefaultPostFetchContext
FetcherContext.AbstractFetchContext, FetcherContext.AbstractPostFetchContext, FetcherContext.AbstractPreFetchContext, FetcherContext.AbstractStartContext, FetcherContext.AbstractStopContext, FetcherContext.DefaultFetchContext, FetcherContext.DefaultPostFetchContext, FetcherContext.DefaultPreFetchContext, FetcherContext.DefaultStartContext, FetcherContext.DefaultStopContext, FetcherContext.FetchContext, FetcherContext.PostFetchContext, FetcherContext.PreFetchContext, FetcherContext.StartContext, FetcherContext.StopContext
Constructor and Description |
---|
PostFetchContext(ConnectorConfig connectorConfig,
JobRunInfo jobRunInfo,
NodeInfo nodeInfo,
RequestInfo requestInfo,
Phase phase,
java.util.function.BiConsumer<EmittedItem,FetcherContext.DefaultPostFetchContext> consumer) |
Modifier and Type | Method and Description |
---|---|
protected void |
emit(EmittedItem item) |
void |
emitCandidate(Candidate candidate) |
withNodeInfo
getPhase, newResult
getConnectorConfig, getJobRunInfo, getNodeInfo, getRequestInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConnectorConfig, getJobRunInfo, getNodeInfo, getRequestInfo
public PostFetchContext(ConnectorConfig connectorConfig, JobRunInfo jobRunInfo, NodeInfo nodeInfo, RequestInfo requestInfo, Phase phase, java.util.function.BiConsumer<EmittedItem,FetcherContext.DefaultPostFetchContext> consumer)
protected void emit(EmittedItem item)
public void emitCandidate(Candidate candidate)