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, providerOfType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adapter
closeableProviderOfType, listProviders, providerOfType
public static final java.lang.String SERVICE_NAME
public java.lang.String getName()
getName
in interface FrameworkSupportService
public boolean canLoadWithLoader(ProviderLoader loader)
canLoadWithLoader
in interface PluggableService<StepExecutor>
loader
- loaderProviderLoader.canLoadForService(FrameworkSupportService)
public StepExecutor loadWithLoader(java.lang.String providerName, ProviderLoader loader) throws ProviderLoaderException
PluggableService
loadWithLoader
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
PluggableService
loadCloseableWithLoader
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
ExecutionServiceException
public java.util.List<ProviderIdent> listDescribableProviders()
listDescribableProviders
in interface DescribableService
public java.util.List<Description> listDescriptions()
listDescriptions
in interface DescribableService
public 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()