org.apache.nutch.webui.client.impl

## Class RemoteCommandBuilder

- java.lang.Object
- - org.apache.nutch.webui.client.impl.RemoteCommandBuilder

-     public class RemoteCommandBuilder
      extends Object

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `RemoteCommand` | `build()`
    `static RemoteCommandBuilder` | `instance(JobInfo.JobType jobType)`
    `RemoteCommandBuilder` | `withArgument(String key, String value)`
    `RemoteCommandBuilder` | `withConfigId(String configId)`
    `RemoteCommandBuilder` | `withCrawlId(String crawlId)`
    `RemoteCommandBuilder` | `withJobType(JobInfo.JobType jobType)`
    `RemoteCommandBuilder` | `withTimeout(org.joda.time.Duration timeout)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### instance

          public static RemoteCommandBuilder instance(JobInfo.JobType jobType)

    - #### withJobType

          public RemoteCommandBuilder withJobType(JobInfo.JobType jobType)

    - #### withConfigId

          public RemoteCommandBuilder withConfigId(String configId)

    - #### withCrawlId

          public RemoteCommandBuilder withCrawlId(String crawlId)

    - #### withArgument

          public RemoteCommandBuilder withArgument(String key,
                                                   String value)

    - #### withTimeout

          public RemoteCommandBuilder withTimeout(org.joda.time.Duration timeout)

    - #### build

          public RemoteCommand build()

Copyright © 2021 The Apache Software Foundation