public class NodeStepExecutionService extends ChainedProviderService<NodeStepExecutor> implements PluggableProviderService<NodeStepExecutor>, DescribableService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_NAME |
Constructor and Description |
---|
NodeStepExecutionService(Framework framework) |
Modifier and Type | Method and Description |
---|---|
boolean |
canLoadWithLoader(ProviderLoader loader) |
com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepExecutionService.ChainedNodeStepPluginService |
getChainedNodeStepPluginService() |
NodeStepExecutor |
getExecutorForExecutionItem(NodeStepExecutionItem item) |
static NodeStepExecutionService |
getInstanceForFramework(Framework framework,
IServicesRegistration registration) |
java.lang.String |
getName() |
com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepPluginService |
getNodeStepPluginService() |
ProviderRegistryService<NodeStepExecutor> |
getProviderRegistryService() |
com.dtolabs.rundeck.core.execution.workflow.steps.node.RemoteScriptNodeStepPluginService |
getRemoteScriptNodeStepPluginService() |
protected java.util.List<ProviderService<NodeStepExecutor>> |
getServiceList() |
static boolean |
isRegistered(java.lang.String provider) |
java.util.List<ProviderIdent> |
listDescribableProviders() |
java.util.List<Description> |
listDescriptions() |
CloseableProvider<NodeStepExecutor> |
loadCloseableWithLoader(java.lang.String providerName,
ProviderLoader loader)
Load a closeable provider with the given loader
|
NodeStepExecutor |
loadWithLoader(java.lang.String providerName,
ProviderLoader loader)
Load provider with the given loader
|
void |
registerClass(java.lang.String name,
java.lang.Class<? extends NodeStepExecutor> clazz) |
void |
registerInstance(java.lang.String name,
NodeStepExecutor 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 NodeStepExecutionService(Framework framework)
public static boolean isRegistered(java.lang.String provider)
public com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepExecutionService.ChainedNodeStepPluginService getChainedNodeStepPluginService()
public boolean canLoadWithLoader(ProviderLoader loader)
canLoadWithLoader
in interface PluggableService<NodeStepExecutor>
loader
- loaderProviderLoader.canLoadForService(FrameworkSupportService)
public NodeStepExecutor loadWithLoader(java.lang.String providerName, ProviderLoader loader) throws ProviderLoaderException
PluggableService
loadWithLoader
in interface PluggableService<NodeStepExecutor>
providerName
- provider nameloader
- loaderProviderLoader.load(PluggableService,
String)
ProviderLoaderException
- if an error occurspublic CloseableProvider<NodeStepExecutor> loadCloseableWithLoader(java.lang.String providerName, ProviderLoader loader) throws ProviderLoaderException
PluggableService
loadCloseableWithLoader
in interface PluggableService<NodeStepExecutor>
providerName
- provider nameloader
- loaderProviderLoader.loadCloseable(PluggableService, String)
ProviderLoaderException
- if an error occursprotected java.util.List<ProviderService<NodeStepExecutor>> getServiceList()
getServiceList
in class ChainedProviderService<NodeStepExecutor>
public void registerInstance(java.lang.String name, NodeStepExecutor object)
public void registerClass(java.lang.String name, java.lang.Class<? extends NodeStepExecutor> clazz)
public NodeStepExecutor getExecutorForExecutionItem(NodeStepExecutionItem item) throws ExecutionServiceException
ExecutionServiceException
public static NodeStepExecutionService getInstanceForFramework(Framework framework, IServicesRegistration registration)
public java.util.List<Description> listDescriptions()
listDescriptions
in interface DescribableService
public java.util.List<ProviderIdent> listDescribableProviders()
listDescribableProviders
in interface DescribableService
public java.lang.String getName()
getName
in interface FrameworkSupportService
public ProviderRegistryService<NodeStepExecutor> getProviderRegistryService()
public com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepPluginService getNodeStepPluginService()
public com.dtolabs.rundeck.core.execution.workflow.steps.node.RemoteScriptNodeStepPluginService getRemoteScriptNodeStepPluginService()