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
| 9 | * @see us.codecraft.webmagic.pipeline.Pipeline |
| 10 | */ |
| 11 | public 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 | } |
no outgoing calls
no test coverage detected