public static class ServiceRunner.Builder<S,B extends ServiceRunner.Builder> extends Object
| Constructor and Description |
|---|
Builder(Class<S> serviceClass,
S service) |
| Modifier and Type | Method and Description |
|---|---|
B |
addConfiguration(String name,
Object value) |
B |
addConstants(Map<String,Object> constants) |
B |
addStageSdcConfiguration(String name,
String value) |
ServiceRunner |
build() |
B |
setResourcesDir(String resourcesDir) |
B |
setRuntimeInfo(com.streamsets.datacollector.main.RuntimeInfo runtimeInfo) |
public B setRuntimeInfo(com.streamsets.datacollector.main.RuntimeInfo runtimeInfo)
public ServiceRunner build()
Copyright © 2019 StreamSets. All rights reserved.