com.xebialabs.deployit.plugin.api.deployment.planning
Annotation Type PostPlanProcessor
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface PostPlanProcessor
A PostProcessor for a Plan. PostProcessors are allowed to add steps to the very end of a plan.
These added steps will only be ordered relative to all the steps added by PostPlanProcessors, not with respect to all the steps in the plan.
PostProcessors 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 PostProcessor.
- Same class names are ordered by
Method.getName() of the annotated method
A method annotated with PostPlanProcessor} 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.
|
Optional Element Summary |
int |
order
|
order
public abstract int order
- Default:
- 100