Package com.dtolabs.rundeck.core.common
Class ServiceSupport
- java.lang.Object
-
- com.dtolabs.rundeck.core.common.ServiceSupport
-
- All Implemented Interfaces:
IExecutionProviders,IExecutionServices,IFrameworkServices,IServicesRegistration
public class ServiceSupport extends java.lang.Object implements IFrameworkServices
Created by greg on 2/20/15.
-
-
Constructor Summary
Constructors Constructor Description ServiceSupport()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.dtolabs.rundeck.core.common.IFrameworkServices
getExecutionService
-
-
-
-
Method Detail
-
initialize
public void initialize(Framework framework)
Initialize children, the various resource management objects- Specified by:
initializein interfaceIFrameworkServices
-
getService
public FrameworkSupportService getService(java.lang.String name)
- Specified by:
getServicein interfaceIServicesRegistration- Parameters:
name- service name- Returns:
- a service by name
-
setService
public void setService(java.lang.String name, FrameworkSupportService service)Set a service by name- Specified by:
setServicein interfaceIServicesRegistration- Parameters:
name- nameservice- service
-
overrideService
public void overrideService(java.lang.String name, FrameworkSupportService service)Description copied from interface:IServicesRegistrationOverride existing registration- Specified by:
overrideServicein interfaceIServicesRegistration- Parameters:
name- nameservice- service
-
getOrchestratorService
public OrchestratorService getOrchestratorService()
- Specified by:
getOrchestratorServicein interfaceIExecutionServices
-
getWorkflowExecutionService
public WorkflowExecutionService getWorkflowExecutionService()
- Specified by:
getWorkflowExecutionServicein interfaceIExecutionServices
-
getWorkflowStrategyService
public WorkflowStrategyService getWorkflowStrategyService()
- Specified by:
getWorkflowStrategyServicein interfaceIExecutionServices
-
getStepExecutionService
public StepExecutionService getStepExecutionService()
- Specified by:
getStepExecutionServicein interfaceIExecutionServices
-
getStepExecutorForItem
public StepExecutor getStepExecutorForItem(StepExecutionItem item, java.lang.String project) throws ExecutionServiceException
Description copied from interface:IExecutionProvidersprovide step executor for the item and the project- Specified by:
getStepExecutorForItemin interfaceIExecutionProviders- Returns:
- Throws:
ExecutionServiceException
-
getFileCopierForNodeAndProject
public FileCopier getFileCopierForNodeAndProject(INodeEntry node, ExecutionContext context) throws ExecutionServiceException
Description copied from interface:IExecutionProvidersprovide file copier for the node and project- Specified by:
getFileCopierForNodeAndProjectin interfaceIExecutionProviders- Returns:
- Throws:
ExecutionServiceException
-
getFileCopierService
public FileCopierService getFileCopierService()
- Specified by:
getFileCopierServicein interfaceIExecutionServices
-
getNodeExecutorForNodeAndProject
public NodeExecutor getNodeExecutorForNodeAndProject(INodeEntry node, ExecutionContext context) throws ExecutionServiceException
Description copied from interface:IExecutionProvidersprovide node executor for the node and project- Specified by:
getNodeExecutorForNodeAndProjectin interfaceIExecutionProviders- Returns:
- Throws:
ExecutionServiceException
-
getNodeExecutorService
public NodeExecutorService getNodeExecutorService()
- Specified by:
getNodeExecutorServicein interfaceIExecutionServices
-
getNodeStepExecutorService
public NodeStepExecutionService getNodeStepExecutorService()
- Specified by:
getNodeStepExecutorServicein interfaceIExecutionServices
-
getNodeStepExecutorForItem
public NodeStepExecutor getNodeStepExecutorForItem(NodeStepExecutionItem item, ExecutionContext context, INodeEntry node) throws ExecutionServiceException
Description copied from interface:IExecutionProvidersprovide node step executor for item and project- Specified by:
getNodeStepExecutorForItemin interfaceIExecutionProviders- Returns:
- Throws:
ExecutionServiceException
-
getNodeDispatcherForContext
public NodeDispatcher getNodeDispatcherForContext(ExecutionContext context) throws ExecutionServiceException
Description copied from interface:IExecutionProvidersprovide node dispatcher for context- Specified by:
getNodeDispatcherForContextin interfaceIExecutionProviders- Returns:
- Throws:
ExecutionServiceException
-
getNodeDispatcherService
public NodeDispatcherService getNodeDispatcherService()
- Specified by:
getNodeDispatcherServicein interfaceIExecutionServices
-
getResourceModelSourceService
public ResourceModelSourceService getResourceModelSourceService()
- Specified by:
getResourceModelSourceServicein interfaceIExecutionServices
-
getResourceFormatParserService
public ResourceFormatParserService getResourceFormatParserService()
- Specified by:
getResourceFormatParserServicein interfaceIExecutionServices
-
getResourceFormatGeneratorService
public ResourceFormatGeneratorService getResourceFormatGeneratorService()
- Specified by:
getResourceFormatGeneratorServicein interfaceIExecutionServices
-
getPluginManager
public ServiceProviderLoader getPluginManager()
- Specified by:
getPluginManagerin interfaceIFrameworkServices
-
-