public abstract class CommandBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Config |
config |
protected java.lang.String |
name |
protected java.util.Set<SystemStreamPartition> |
systemStreamPartitions |
Constructor and Description |
---|
CommandBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
buildCommand() |
abstract java.util.Map<java.lang.String,java.lang.String> |
buildEnvironment() |
CommandBuilder |
setConfig(Config config) |
CommandBuilder |
setName(java.lang.String name) |
CommandBuilder |
setStreamPartitions(java.util.Set<SystemStreamPartition> ssp) |
protected java.util.Set<SystemStreamPartition> systemStreamPartitions
protected java.lang.String name
protected Config config
public CommandBuilder setStreamPartitions(java.util.Set<SystemStreamPartition> ssp)
public CommandBuilder setName(java.lang.String name)
name
- associated with a specific instantiation of a TaskRunner.public CommandBuilder setConfig(Config config)
public abstract java.lang.String buildCommand()
public abstract java.util.Map<java.lang.String,java.lang.String> buildEnvironment()