public final class SetUpFacade extends Object
| Constructor and Description |
|---|
SetUpFacade(CoordinatorRegistryCenter regCenter,
String jobName,
Collection<ElasticJobListener> elasticJobListeners) |
| Modifier and Type | Method and Description |
|---|---|
void |
registerStartUpInfo(boolean enabled)
Register start up info.
|
JobConfiguration |
setUpJobConfiguration(String jobClassName,
JobConfiguration jobConfig)
Set up job configuration.
|
void |
tearDown()
Tear down.
|
public SetUpFacade(CoordinatorRegistryCenter regCenter, String jobName, Collection<ElasticJobListener> elasticJobListeners)
public JobConfiguration setUpJobConfiguration(String jobClassName, JobConfiguration jobConfig)
jobClassName - job class namejobConfig - job configuration to be updatedpublic void registerStartUpInfo(boolean enabled)
enabled - enable job on startuppublic void tearDown()
Copyright © 2021 The Apache Software Foundation. All rights reserved.