public class ServiceRunner<S> extends ProtoRunner
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceRunner.Builder<S,B extends ServiceRunner.Builder> |
status| Modifier | Constructor and Description |
|---|---|
protected |
ServiceRunner(S service,
Class<S> serviceClass,
Map<String,String> stageSdcConf,
Map<String,Object> configs,
Map<String,Object> constants,
String resourcesDir,
com.streamsets.datacollector.main.RuntimeInfo runtimeInfo) |
| Modifier and Type | Method and Description |
|---|---|
com.streamsets.pipeline.api.service.Service.Context |
getContext() |
S |
getService() |
Class<S> |
getServiceClass() |
void |
runDestroy() |
void |
runInit() |
List<com.streamsets.pipeline.api.ConfigIssue> |
runValidateConfigs() |
configureObjectpublic S getService()
public com.streamsets.pipeline.api.service.Service.Context getContext()
public List<com.streamsets.pipeline.api.ConfigIssue> runValidateConfigs()
public void runInit()
throws com.streamsets.pipeline.api.StageException
com.streamsets.pipeline.api.StageExceptionpublic void runDestroy()
throws com.streamsets.pipeline.api.StageException
com.streamsets.pipeline.api.StageExceptionCopyright © 2019 StreamSets. All rights reserved.