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,
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) |
getPhase, newResult
getConnectorConfig, getJobRunInfo, getRequestInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConnectorConfig, getJobRunInfo, getRequestInfo
public PostFetchContext(ConnectorConfig connectorConfig, JobRunInfo jobRunInfo, RequestInfo requestInfo, Phase phase, java.util.function.BiConsumer<EmittedItem,FetcherContext.DefaultPostFetchContext> consumer)
protected void emit(EmittedItem item)
public void emitCandidate(Candidate candidate)