Last change
on this file since 1034 was
1034,
checked in by adeicke, 11 years ago
|
Renamed getRulesetForUsabilityEvaluation method to evaluationRules
|
-
Property svn:mime-type set to
text/plain
|
File size:
978 bytes
|
Rev | Line | |
---|
[1030] | 1 | package de.ugoe.cs.autoquest.usability.evaluation.rule.set;
|
---|
| 2 |
|
---|
| 3 | import java.util.EnumSet;
|
---|
| 4 |
|
---|
| 5 | import org.apache.commons.lang.StringUtils;
|
---|
| 6 |
|
---|
| 7 | import com.google.common.base.Optional;
|
---|
| 8 |
|
---|
| 9 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTree;
|
---|
| 10 | import de.ugoe.cs.autoquest.usability.evaluation.result.UsabilityDefect;
|
---|
| 11 |
|
---|
| 12 | public class EmptyUsabilityRuleset implements UsabilityRuleset {
|
---|
| 13 |
|
---|
| 14 | private enum EmptyUsabilityRule implements UsabilityRule {
|
---|
| 15 | ;
|
---|
| 16 |
|
---|
| 17 | @Override
|
---|
| 18 | public Optional<UsabilityDefect> evaluate(ITaskTree taskTree) {
|
---|
| 19 | return Optional.absent();
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | @Override
|
---|
| 23 | public String ruleIdentifier() {
|
---|
| 24 | return StringUtils.EMPTY;
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | private final EnumSet<EmptyUsabilityRule> EMPTY_USABILITY_RULESET =
|
---|
| 30 | EnumSet.noneOf(EmptyUsabilityRule.class);
|
---|
| 31 |
|
---|
| 32 | @Override
|
---|
[1034] | 33 | public EnumSet<? extends UsabilityRule> evaluationRules() {
|
---|
[1030] | 34 | return EMPTY_USABILITY_RULESET;
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.