com.dtolabs.rundeck.core.execution.workflow.steps.node
Class NodeStepExecutionService

java.lang.Object
  extended by com.dtolabs.rundeck.core.plugins.ChainedProviderService<NodeStepExecutor>
      extended by com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepExecutionService
All Implemented Interfaces:
FrameworkSupportService, ProviderService<NodeStepExecutor>, DescribableService

public class NodeStepExecutionService
extends ChainedProviderService<NodeStepExecutor>
implements DescribableService

NodeStepExecutionService is a provider of NodeStepExecutors, which aggregates a few services together that provide builtin NodeStepExecutors, and several forms of plugins.


Field Summary
static java.lang.String PLUGIN_SERVICE_NAME
           
static java.lang.String REMOTE_SCRIPT_PLUGIN_SERVICE_NAME
           
static java.lang.String SERVICE_NAME
           
 
Constructor Summary
NodeStepExecutionService(Framework framework)
           
 
Method Summary
 NodeStepExecutor getExecutorForExecutionItem(NodeStepExecutionItem item)
           
static NodeStepExecutionService getInstanceForFramework(Framework framework)
           
 java.lang.String getName()
          Return the name used to identify the service
protected  java.util.List<ProviderService<NodeStepExecutor>> getServiceList()
           
 java.util.List<ProviderIdent> listDescribableProviders()
           
 java.util.List<Description> listDescriptions()
           
 void registerClass(java.lang.String name, java.lang.Class<? extends NodeStepExecutor> clazz)
           
 void registerInstance(java.lang.String name, NodeStepExecutor object)
           
 void resetDefaultProviders()
           
 
Methods inherited from class com.dtolabs.rundeck.core.plugins.ChainedProviderService
listProviders, providerOfType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_NAME

public static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values

PLUGIN_SERVICE_NAME

public static final java.lang.String PLUGIN_SERVICE_NAME
See Also:
Constant Field Values

REMOTE_SCRIPT_PLUGIN_SERVICE_NAME

public static final java.lang.String REMOTE_SCRIPT_PLUGIN_SERVICE_NAME
See Also:
Constant Field Values
Constructor Detail

NodeStepExecutionService

public NodeStepExecutionService(Framework framework)
Method Detail

getServiceList

protected java.util.List<ProviderService<NodeStepExecutor>> getServiceList()
Specified by:
getServiceList in class ChainedProviderService<NodeStepExecutor>

registerInstance

public void registerInstance(java.lang.String name,
                             NodeStepExecutor object)

registerClass

public void registerClass(java.lang.String name,
                          java.lang.Class<? extends NodeStepExecutor> clazz)

resetDefaultProviders

public void resetDefaultProviders()

getExecutorForExecutionItem

public NodeStepExecutor getExecutorForExecutionItem(NodeStepExecutionItem item)
                                             throws ExecutionServiceException
Throws:
ExecutionServiceException

getInstanceForFramework

public static NodeStepExecutionService getInstanceForFramework(Framework framework)

listDescriptions

public java.util.List<Description> listDescriptions()
Specified by:
listDescriptions in interface DescribableService

listDescribableProviders

public java.util.List<ProviderIdent> listDescribableProviders()
Specified by:
listDescribableProviders in interface DescribableService

getName

public java.lang.String getName()
Description copied from interface: FrameworkSupportService
Return the name used to identify the service

Specified by:
getName in interface FrameworkSupportService