View Javadoc

1   /**
2    * - Digitalis Internal Framework v2.0 - (C) 2014, Digitalis Informatica. Distribuicao e Gestao de Informatica, Lda.
3    * Estrada de Paco de Arcos num.9 - Piso -1 2780-666 Paco de Arcos Telefone: (351) 21 4408990 Fax: (351) 21 4408999
4    * http://www.digitalis.pt
5    */
6   package pt.digitalis.dif.dem.annotations.parameter;
7   
8   import java.lang.annotation.ElementType;
9   import java.lang.annotation.Retention;
10  import java.lang.annotation.RetentionPolicy;
11  import java.lang.annotation.Target;
12  
13  import pt.digitalis.dif.dem.annotations.metaannotations.Primary;
14  
15  /**
16   * Declares a method that can add/remove or change the stage's declared parameters, before their processing takes place.
17   * It must be used on Stages only.<br/>
18   * There should be <b>no value attribution</b> in the method since this is executed in the definition phase of the
19   * stage. Parameter value initialization should be handled in the @Init or @Execute handlers as usual for the remaining
20   * parameters.
21   * 
22   * @author Pedro Viegas <a href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a><br/>
23   * @created 07/02/2014
24   */
25  @Target(ElementType.METHOD)
26  @Retention(RetentionPolicy.RUNTIME)
27  @Primary
28  public @interface CustomParameters {
29  }