public class RemoteCommandBuilder extends Object
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) |
public static RemoteCommandBuilder instance(JobInfo.JobType jobType)
public RemoteCommandBuilder withJobType(JobInfo.JobType jobType)
public RemoteCommandBuilder withConfigId(String configId)
public RemoteCommandBuilder withCrawlId(String crawlId)
public RemoteCommandBuilder withArgument(String key, String value)
public RemoteCommandBuilder withTimeout(org.joda.time.Duration timeout)
public RemoteCommand build()
Copyright © 2021 The Apache Software Foundation