Ignore:
Timestamp:
09/05/14 19:33:12 (10 years ago)
Author:
rkrimmel
Message:

Used Eclipse code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskInfo.java

    r1428 r1733  
    1717/** 
    1818 * <p> 
    19  * Provides extended information about a specific task, such as statistics about task occurrences, 
    20  * etc. It contains measures for different metrics determined for a task. 
     19 * Provides extended information about a specific task, such as statistics about 
     20 * task occurrences, etc. It contains measures for different metrics determined 
     21 * for a task. 
    2122 * </p> 
    2223 *  
     
    2526public interface ITaskInfo { 
    2627 
    27     /** 
    28     * <p> 
    29      * returns the task to which these infos belong 
    30     * </p> 
    31     *  
    32      * @return as described 
    33     */ 
    34     public ITask getTask(); 
     28        /** 
     29        * <p> 
     30         * represents a measure for a specific metric 
     31        * </p> 
     32        *  
     33         * @author Patrick Harms 
     34        */ 
     35        public interface IMeasure { 
    3536 
    36     /** 
    37     * <p> 
    38      * returns all available measures 
    39     * </p> 
    40     *  
    41     * @return as described 
    42     */ 
    43     public IMeasure[] getMeasures(); 
     37                /** 
     38                * <p> 
     39                 * returns the metric of the measure 
     40                * </p> 
     41                *  
     42                * @return as described 
     43                */ 
     44                public TaskMetric getMetric(); 
    4445 
    45     /** 
    46      * <p> 
    47      * returns the value of the measure identified through the given metric 
    48      * </p> 
    49      * 
    50      * @param metric the metric for which the value is to be returned 
    51      *  
    52      * @return as described 
    53      */ 
    54     public int getMeasureValue(TaskMetric metric); 
     46                /** 
     47                 * <p> 
     48                 * returns the value of the measure 
     49                 * </p> 
     50                 *  
     51                 * @return as described 
     52                 */ 
     53                public int getValue(); 
    5554 
    56     /** 
    57      * <p> 
    58      * returns the value of the measure identified through the given metric if the task is 
    59      * observed in the given context, i.e. parent task. The result is Integer.MIN_VALUE if there 
    60      * is no value for this measure in a context. 
    61      * </p> 
    62      * 
    63      * @param metric  the metric for which the value is to be returned 
    64      * @param context the context for which the measure value is to be returned 
    65      *  
    66      * @return as described 
    67      */ 
    68     public int getMeasureValue(TaskMetric metric, ITask context); 
     55                /** 
     56                 * <p> 
     57                 * returns the value of the measure if the task was observed in a 
     58                 * specific context, i.e. parent task 
     59                 * </p> 
     60                 *  
     61                 * @return as described 
     62                 */ 
     63                public int getValue(ITask context); 
    6964 
    70     /** 
    71      * <p> 
    72      * represents a measure for a specific metric 
    73      * </p> 
    74      *  
    75      * @author Patrick Harms 
    76      */ 
    77     public interface IMeasure { 
    78          
    79         /** 
    80          * <p> 
    81          * returns the metric of the measure 
    82          * </p> 
    83          *  
    84          * @return as described 
    85          */ 
    86         public TaskMetric getMetric(); 
    87          
    88         /** 
    89          * <p> 
    90          * returns the value of the measure 
    91          * </p> 
    92          *  
    93          * @return as described 
    94          */ 
    95         public int getValue(); 
    96          
    97         /** 
    98          * <p> 
    99          * returns the value of the measure if the task was observed in a specific context, i.e. 
    100          * parent task 
    101          * </p> 
    102          *  
    103          * @return as described 
    104          */ 
    105         public int getValue(ITask context); 
    106          
    107     } 
     65        } 
     66 
     67        /** 
     68         * <p> 
     69         * returns all available measures 
     70         * </p> 
     71         *  
     72         * @return as described 
     73         */ 
     74        public IMeasure[] getMeasures(); 
     75 
     76        /** 
     77         * <p> 
     78         * returns the value of the measure identified through the given metric 
     79         * </p> 
     80         * 
     81         * @param metric 
     82         *            the metric for which the value is to be returned 
     83         *  
     84         * @return as described 
     85         */ 
     86        public int getMeasureValue(TaskMetric metric); 
     87 
     88        /** 
     89         * <p> 
     90         * returns the value of the measure identified through the given metric if 
     91         * the task is observed in the given context, i.e. parent task. The result 
     92         * is Integer.MIN_VALUE if there is no value for this measure in a context. 
     93         * </p> 
     94         * 
     95         * @param metric 
     96         *            the metric for which the value is to be returned 
     97         * @param context 
     98         *            the context for which the measure value is to be returned 
     99         *  
     100         * @return as described 
     101         */ 
     102        public int getMeasureValue(TaskMetric metric, ITask context); 
     103 
     104        /** 
     105         * <p> 
     106         * returns the task to which these infos belong 
     107         * </p> 
     108         *  
     109         * @return as described 
     110         */ 
     111        public ITask getTask(); 
    108112 
    109113} 
Note: See TracChangeset for help on using the changeset viewer.