Package org.craftercms.deployer.impl
Class DeploymentPipelineFactoryImpl
java.lang.Object
org.craftercms.deployer.impl.DeploymentPipelineFactoryImpl
- All Implemented Interfaces:
DeploymentPipelineFactory
@Component("deploymentPipelineFactory")
public class DeploymentPipelineFactoryImpl
extends Object
implements DeploymentPipelineFactory
Default implementation of
DeploymentPipeline
.- Author:
- avasquez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPipeline
(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> configuration, org.springframework.context.ApplicationContext applicationContext, String pipelinePropertyName) Creates aDeploymentPipeline
based on the specified configuration
-
Constructor Details
-
DeploymentPipelineFactoryImpl
public DeploymentPipelineFactoryImpl()
-
-
Method Details
-
getPipeline
public DeploymentPipeline getPipeline(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> configuration, org.springframework.context.ApplicationContext applicationContext, String pipelinePropertyName) throws org.craftercms.commons.config.ConfigurationException, DeployerException Description copied from interface:DeploymentPipelineFactory
Creates aDeploymentPipeline
based on the specified configuration- Specified by:
getPipeline
in interfaceDeploymentPipelineFactory
- Parameters:
configuration
- the target's YAML configurationapplicationContext
- the target's application contextpipelinePropertyName
- the name of the pipeline property in the YAML configuration- Returns:
- the deployment pipeline
- Throws:
org.craftercms.commons.config.ConfigurationException
- if a configuration related exception occursDeployerException
- if a general error occurs
-