Annotation Interface PrePlanProcessor


@Retention(RUNTIME) @Target(METHOD) public @interface PrePlanProcessor
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 PrePlanProcessors, not with respect to all the steps in the plan. PreProcessors are executed in an ordered fashion. Their ordering is the following:
  1. A lower order() god before a higher order (default 100).
  2. Same orders are ordered alphabetically by Class.getSimpleName() of the class of the annotated PreProcessor.
  3. 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.
    • Optional Element Summary

      Optional Elements
      Modifier and Type
      Optional Element
      Description
      int
       
    • Element Details

      • order

        int order
        Default:
        100