public class PhoenixOverviewTask extends ZdfTaskBase<CrawlerUrlDTO,CrawlerUrlDTO>
authKey, AUTHORIZATION_BEARER, ENCODING_GZIP, HEADER_ACCEPT_ENCODING, HEADER_AUTHORIZATIONcrawler, taskResults| Constructor and Description |
|---|
PhoenixOverviewTask(MediathekReader aCrawler,
java.util.concurrent.ConcurrentLinkedQueue<CrawlerUrlDTO> aUrlToCrawlDtos,
java.util.Optional<java.lang.String> aAuthKey,
java.lang.String aBaseUrl) |
PhoenixOverviewTask(MediathekReader aCrawler,
java.util.concurrent.ConcurrentLinkedQueue<CrawlerUrlDTO> aUrlToCrawlDtos,
java.util.Optional<java.lang.String> aAuthKey,
java.lang.String aBaseUrl,
int aSubpage) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractRecursivConverterTask<CrawlerUrlDTO,CrawlerUrlDTO> |
createNewOwnInstance(java.util.concurrent.ConcurrentLinkedQueue<CrawlerUrlDTO> aElementsToProcess)
In this method you just have to create a new instance of yourself.
|
protected void |
processRestTarget(CrawlerUrlDTO aDTO,
WebTarget aTarget)
In this method you have to use the
WebTarget to create a object of
the return type T. |
deserialize, deserializeOptional, registerJsonDeserializercreateWebTarget, processElementgetMaxElementsToProcesscomputeadapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnforkpublic PhoenixOverviewTask(MediathekReader aCrawler, java.util.concurrent.ConcurrentLinkedQueue<CrawlerUrlDTO> aUrlToCrawlDtos, java.util.Optional<java.lang.String> aAuthKey, java.lang.String aBaseUrl)
public PhoenixOverviewTask(MediathekReader aCrawler, java.util.concurrent.ConcurrentLinkedQueue<CrawlerUrlDTO> aUrlToCrawlDtos, java.util.Optional<java.lang.String> aAuthKey, java.lang.String aBaseUrl, int aSubpage)
protected void processRestTarget(CrawlerUrlDTO aDTO, WebTarget aTarget)
AbstractRestTaskWebTarget to create a object of
the return type T. Add the results to
AbstractRecursivConverterTask.taskResults.processRestTarget in class AbstractRestTask<CrawlerUrlDTO,CrawlerUrlDTO>aDTO - A DTO containing at least the URL of the given document.aTarget - The WebTarget.protected AbstractRecursivConverterTask<CrawlerUrlDTO,CrawlerUrlDTO> createNewOwnInstance(java.util.concurrent.ConcurrentLinkedQueue<CrawlerUrlDTO> aElementsToProcess)
AbstractRecursivConverterTaskcreateNewOwnInstance in class AbstractRecursivConverterTask<CrawlerUrlDTO,CrawlerUrlDTO>aElementsToProcess - The ConcurrentLinkedQueue of D
the new instance should process.