A PreProcessor for a Plan. PreProcessors are allowed to add steps to the very beginning of a plan.
These added steps will only be ordered relative to all the steps added by
PrePlanProcessor
s, not with respect to all the steps in the plan.
PreProcessors are executed in an ordered fashion. Their ordering is the following:
- A lower
order()
god before a higher order (default 100).
- Same orders are ordered alphabetically by
Class.getSimpleName()
of the class of the annotated PreProcessor.
- Same class names are ordered by
Method.getName()
of the annotated method
A method annotated with
PrePlanProcessor
should take the following parameters:
DeltaSpecification
The specification for the current deployment
The method should return either a
DeploymentStep
or a
List
of
DeploymentStep
.
The class that contains this annotated method should have a default or no-arg constructor.