public class StepExecutionService extends ChainedProviderService<StepExecutor> implements DescribableService, PluggableProviderService<StepExecutor>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLoadWithLoader(ProviderLoader loader) |
StepExecutor |
getExecutorForItem(StepExecutionItem item) |
static StepExecutionService |
getInstanceForFramework(Framework framework) |
java.lang.String |
getName() |
com.dtolabs.rundeck.core.execution.workflow.steps.PluginStepExecutionService |
getPluginStepExecutionService() |
ProviderRegistryService<StepExecutor> |
getProviderRegistryService() |
protected java.util.List<ProviderService<StepExecutor>> |
getServiceList() |
java.util.List<ProviderIdent> |
listDescribableProviders() |
java.util.List<Description> |
listDescriptions() |
CloseableProvider<StepExecutor> |
loadCloseableWithLoader(java.lang.String providerName,
ProviderLoader loader)
Load a closeable provider with the given loader
|
StepExecutor |
loadWithLoader(java.lang.String providerName,
ProviderLoader loader)
Load provider with the given loader
|
void |
registerClass(java.lang.String name,
java.lang.Class<? extends StepExecutor> clazz) |
void |
registerInstance(java.lang.String name,
StepExecutor object) |
closeableProviderOfType, listProviders, providerOfTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadaptercloseableProviderOfType, listProviders, providerOfTypepublic static final java.lang.String SERVICE_NAME
public java.lang.String getName()
getName in interface FrameworkSupportServicepublic boolean canLoadWithLoader(ProviderLoader loader)
canLoadWithLoader in interface PluggableService<StepExecutor>loader - loaderProviderLoader.canLoadForService(FrameworkSupportService)public StepExecutor loadWithLoader(java.lang.String providerName, ProviderLoader loader) throws ProviderLoaderException
PluggableServiceloadWithLoader in interface PluggableService<StepExecutor>providerName - provider nameloader - loaderProviderLoader.load(PluggableService,
String)ProviderLoaderException - if an error occurspublic CloseableProvider<StepExecutor> loadCloseableWithLoader(java.lang.String providerName, ProviderLoader loader) throws ProviderLoaderException
PluggableServiceloadCloseableWithLoader in interface PluggableService<StepExecutor>providerName - provider nameloader - loaderProviderLoader.loadCloseable(PluggableService, String)ProviderLoaderException - if an error occursprotected java.util.List<ProviderService<StepExecutor>> getServiceList()
getServiceList in class ChainedProviderService<StepExecutor>public static StepExecutionService getInstanceForFramework(Framework framework)
public StepExecutor getExecutorForItem(StepExecutionItem item) throws ExecutionServiceException
ExecutionServiceExceptionpublic java.util.List<ProviderIdent> listDescribableProviders()
listDescribableProviders in interface DescribableServicepublic java.util.List<Description> listDescriptions()
listDescriptions in interface DescribableServicepublic void registerClass(java.lang.String name,
java.lang.Class<? extends StepExecutor> clazz)
public void registerInstance(java.lang.String name,
StepExecutor object)
public ProviderRegistryService<StepExecutor> getProviderRegistryService()
public com.dtolabs.rundeck.core.execution.workflow.steps.PluginStepExecutionService getPluginStepExecutionService()