MCPcopy Index your code
hub / github.com/code4craft/webmagic / Task

Interface Task

webmagic-core/src/main/java/us/codecraft/webmagic/Task.java:11–27  ·  view source on GitHub ↗

Interface for identifying different tasks. @author code4crafter@gmail.com @since 0.1.0 @see us.codecraft.webmagic.scheduler.Scheduler @see us.codecraft.webmagic.pipeline.Pipeline

Source from the content-addressed store, hash-verified

9 * @see us.codecraft.webmagic.pipeline.Pipeline
10 */
11public interface Task {
12
13 /**
14 * unique id for a task.
15 *
16 * @return uuid
17 */
18 public String getUUID();
19
20 /**
21 * site of a task
22 *
23 * @return site
24 */
25 public Site getSite();
26
27}

Callers 11

processMethod · 0.65
pushWhenNoDuplicateMethod · 0.65
pollMethod · 0.65
getSetKeyMethod · 0.65
getQueueKeyMethod · 0.65
getItemKeyMethod · 0.65
getFileNameMethod · 0.65
testGetSiteMethod · 0.65
SpiderMethod · 0.65
downloadMethod · 0.65

Implementers 7

Spiderwebmagic-core/src/main/java/us/codecra
PrioritySchedulerTestwebmagic-core/src/test/java/us/codecra
FilePipelineTestwebmagic-core/src/test/java/us/codecra
Sitewebmagic-core/src/main/java/us/codecra
RedisSchedulerTestwebmagic-extension/src/test/java/us/co
RedisPrioritySchedulerTestwebmagic-extension/src/test/java/us/co
SeleniumDownloaderTestwebmagic-selenium/src/test/java/us/cod

Calls

no outgoing calls

Tested by

no test coverage detected