Package org.craftercms.deployer.api
Interface DeploymentPipeline
- All Known Implementing Classes:
DeploymentPipelineImpl
public interface DeploymentPipeline
Represents a collection of processors that are executed on each deployment.
- Author:
- avasquez
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Destroys the pipeline, calling destroy also on all its processorsvoid
execute
(Deployment deployment) Does a deployment.Returns the processors that make up this pipeline.
-
Method Details
-
destroy
Destroys the pipeline, calling destroy also on all its processors- Throws:
DeployerException
- if an error occurs
-
getProcessors
List<DeploymentProcessor> getProcessors()Returns the processors that make up this pipeline. The returned list is unmodifiable. -
execute
Does a deployment.- Parameters:
deployment
- the deployment info
-