Ignore:
Timestamp:
05/27/13 14:53:38 (11 years ago)
Author:
pharms
Message:
  • added Optional to visitor pattern
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskVisitor.java

    r1191 r1213  
    1818/** 
    1919 * <p> 
    20  * TODO comment 
     20 * This is an implementation of the visitor pattern. Through this, it is possible to effectively 
     21 * process a task model.  
    2122 * </p> 
    2223 *  
     
    2627 
    2728    /** 
    28      * 
     29     * <p> 
     30     * method called for each visited event task. 
     31     * </p> 
     32     *  
     33     * @param eventTask the event task to be processed 
    2934     */ 
    30     public void visit(IEventTask event); 
     35    public void visit(IEventTask eventTask); 
    3136     
    3237    /** 
    33      * 
     38     * <p> 
     39     * method called for each visited iteration. 
     40     * </p> 
     41     *  
     42     * @param iteration the iteration to be processed 
    3443     */ 
    3544    public void visit(IIteration iteration); 
    3645     
    3746    /** 
    38      * 
     47     * <p> 
     48     * method called for each visited optional. 
     49     * </p> 
     50     *  
     51     * @param optional the optional to be processed 
     52     */ 
     53    public void visit(IOptional optional); 
     54     
     55    /** 
     56     * <p> 
     57     * method called for each visited selection. 
     58     * </p> 
     59     *  
     60     * @param selection the selection to be processed 
    3961     */ 
    4062    public void visit(ISelection selection); 
    4163     
    4264    /** 
    43      * 
     65     * <p> 
     66     * method called for each visited sequence. 
     67     * </p> 
     68     *  
     69     * @param sequence the sequence to be processed 
    4470     */ 
    4571    public void visit(ISequence sequence); 
    4672 
    4773    /** 
    48      * 
     74     * <p> 
     75     * method called for each other kind of visited task (implemented to support future versions). 
     76     * </p> 
     77     *  
     78     * @param task the task to be processed 
    4979     */ 
    5080    public void visit(ITask task); 
Note: See TracChangeset for help on using the changeset viewer.