Last change
on this file since 1030 was
1030,
checked in by adeicke, 11 years ago
|
Initial commit.
|
-
Property svn:mime-type set to
text/plain
|
File size:
1.0 KB
|
Line | |
---|
1 |
|
---|
2 | package de.ugoe.cs.autoquest.usability.evaluation.result;
|
---|
3 |
|
---|
4 | import java.util.Map;
|
---|
5 |
|
---|
6 | import de.ugoe.cs.autoquest.usability.DefectDescription;
|
---|
7 | import de.ugoe.cs.autoquest.usability.evaluation.rule.set.UsabilityRule;
|
---|
8 | import lombok.AllArgsConstructor;
|
---|
9 |
|
---|
10 | @AllArgsConstructor
|
---|
11 | public class UsabilityDefectFactory {
|
---|
12 |
|
---|
13 | private final UsabilityDefectDescriptionResolver usabilityDefectDescriptionResolver;
|
---|
14 |
|
---|
15 | public UsabilityDefect createUsabilityGuidlineRecommendation(UsabilityDefectSeverityLevel recommendationSeverityLevel,
|
---|
16 | UsabilityRule usabilityRule,
|
---|
17 | Map<String, String> recommendationMessageParameteValues) {
|
---|
18 | DefectDescription guidlineDescription =
|
---|
19 | usabilityDefectDescriptionResolver.descriptionFor(usabilityRule);
|
---|
20 | return new UsabilityDefect(recommendationSeverityLevel, guidlineDescription,
|
---|
21 | recommendationMessageParameteValues);
|
---|
22 |
|
---|
23 | }
|
---|
24 |
|
---|
25 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.