com.dtolabs.rundeck.core.execution.workflow.steps
Class StepExecutionService

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

public class StepExecutionService
extends ChainedProviderService<StepExecutor>
implements DescribableService

StepExecutionService can provide executors for workflow steps.


Field Summary
static java.lang.String SERVICE_NAME
           
 
Method Summary
 StepExecutor getExecutorForItem(StepExecutionItem item)
           
static StepExecutionService getInstanceForFramework(Framework framework)
           
 java.lang.String getName()
          Return the name used to identify the service
protected  java.util.List<ProviderService<StepExecutor>> getServiceList()
           
 java.util.List<ProviderIdent> listDescribableProviders()
           
 java.util.List<Description> listDescriptions()
           
 void registerClass(java.lang.String name, java.lang.Class<? extends StepExecutor> clazz)
           
 void registerInstance(java.lang.String name, StepExecutor object)
           
 
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
Method Detail

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

getServiceList

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

getInstanceForFramework

public static StepExecutionService getInstanceForFramework(Framework framework)

getExecutorForItem

public StepExecutor getExecutorForItem(StepExecutionItem item)
                                throws ExecutionServiceException
Throws:
ExecutionServiceException

listDescribableProviders

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

listDescriptions

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

registerClass

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

registerInstance

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