source: trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/rules/UsabilityRule.java @ 1152

Last change on this file since 1152 was 1152, checked in by pharms, 11 years ago
  • complete refactoring of task tree model with a separation of task models and task instances
  • Property svn:mime-type set to text/plain
File size: 1.4 KB
Line 
1//   Copyright 2012 Georg-August-Universität Göttingen, Germany
2//
3//   Licensed under the Apache License, Version 2.0 (the "License");
4//   you may not use this file except in compliance with the License.
5//   You may obtain a copy of the License at
6//
7//       http://www.apache.org/licenses/LICENSE-2.0
8//
9//   Unless required by applicable law or agreed to in writing, software
10//   distributed under the License is distributed on an "AS IS" BASIS,
11//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//   See the License for the specific language governing permissions and
13//   limitations under the License.
14
15package de.ugoe.cs.autoquest.usability.rules;
16
17import com.google.common.base.Optional;
18
19import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;
20import de.ugoe.cs.autoquest.usability.EvaluationMethodCaller;
21import de.ugoe.cs.autoquest.usability.result.UsabilityDefect;
22
23/**
24 * <p>
25 * TODO comment
26 * </p>
27 *
28 * @author Alexander Deicke
29 */
30public abstract class UsabilityRule {
31   
32    protected final ITaskModel taskModel;
33   
34    protected String name;
35   
36    protected UsabilityDefect defect;
37   
38    /**
39     * <p>
40     * TODO: comment
41     * </p>
42     *
43     */
44    public UsabilityRule(ITaskModel taskModel) {
45        this.taskModel = taskModel;
46    }
47   
48    public abstract Optional<UsabilityDefect> callEvaluationMethod(EvaluationMethodCaller evaluationMethodCaller);
49
50}
Note: See TracBrowser for help on using the repository browser.