View Javadoc
1   
2   package eu.simuline.m2latex.core;
3   
4   
5   // TBD: re-add
6    
7   /**
8    * Common interface to pass parameters from ant and from maven. 
9    * The core method is {@link #initialize()}. 
10   * Note that both implementations, the one of an ant task 
11   * and the one for the maven plugin implement a method execute() 
12   * but throwing specific exceptions. 
13   *
14   * TODO: eliminate this interface
15   *
16   * @see eu.simuline.m2latex.antTask.LatexCfgTask
17   * @see eu.simuline.m2latex.mojo.AbstractLatexMojo
18   */
19  public interface ParameterAdapter {
20  
21      /**
22       * Sets up the parameters and initializes 
23       * {@link eu.simuline.m2latex.core.LatexProcessor}. 
24       */
25      void initialize();
26  
27  }