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 |
|
---|
15 | package de.ugoe.cs.autoquest.usability.rules;
|
---|
16 |
|
---|
17 | import com.google.common.base.Optional;
|
---|
18 |
|
---|
19 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;
|
---|
20 | import de.ugoe.cs.autoquest.usability.EvaluationMethodCaller;
|
---|
21 | import de.ugoe.cs.autoquest.usability.result.UsabilityDefect;
|
---|
22 |
|
---|
23 | /**
|
---|
24 | * <p>
|
---|
25 | * TODO comment
|
---|
26 | * </p>
|
---|
27 | *
|
---|
28 | * @author Alexander Deicke
|
---|
29 | */
|
---|
30 | public 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 | }
|
---|