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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
destroy()
Destroys the pipeline, calling destroy also on all its processorsvoid
execute(Deployment deployment)
Does a deployment.List<DeploymentProcessor>
getProcessors()
Returns the processors that make up this pipeline.
-
-
-
Method Detail
-
destroy
void destroy() throws DeployerException
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
void execute(Deployment deployment)
Does a deployment.- Parameters:
deployment
- the deployment info
-
-