org.apache.nutch.service

## Interface JobManager

- All Known Implementing Classes:
    JobManagerImpl

      public interface JobManager

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `JobManager.JobType`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `abort(java.lang.String crawlId, java.lang.String id)`
    `JobInfo` | `create(JobConfig jobConfig)` Creates specified job
    `JobInfo` | `get(java.lang.String crawlId, java.lang.String id)`
    `java.util.Collection<JobInfo>` | `list(java.lang.String crawlId, JobInfo.State state)`
    `boolean` | `stop(java.lang.String crawlId, java.lang.String id)`

- - ### Method Detail

    - #### list

          java.util.Collection<JobInfo> list(java.lang.String crawlId,
                                             JobInfo.State state)

    - #### get

          JobInfo get(java.lang.String crawlId,
                      java.lang.String id)

    - #### create

          JobInfo create(JobConfig jobConfig)

      Creates specified job
      Parameters:
        `jobConfig` -
      Returns:
        JobInfo

    - #### abort

          boolean abort(java.lang.String crawlId,
                        java.lang.String id)

    - #### stop

          boolean stop(java.lang.String crawlId,
                       java.lang.String id)

Copyright © 2019 The Apache Software Foundation