Last change
on this file since 1326 was
1326,
checked in by khartmann, 10 years ago
|
Moved alexanders code into a new plugin project.
First commit of my experimental code (needs a lot of cleanup).
|
File size:
785 bytes
|
Line | |
---|
1 | package de.ugoe.cs.autoquest.plugin.usability2.rules.operator.filter; |
---|
2 | |
---|
3 | import de.ugoe.cs.autoquest.plugin.usability2.rules.operator.IFilter; |
---|
4 | import de.ugoe.cs.autoquest.plugin.usability2.rules.results.DefaultMatch; |
---|
5 | import de.ugoe.cs.autoquest.plugin.usability2.rules.results.IMatch; |
---|
6 | import de.ugoe.cs.autoquest.plugin.usability2.rules.results.IResult; |
---|
7 | import de.ugoe.cs.autoquest.plugin.usability2.rules.results.SingleMatchResult; |
---|
8 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; |
---|
9 | |
---|
10 | public class AnyFilter implements IFilter { |
---|
11 | |
---|
12 | public static final AnyFilter ANY = new AnyFilter(); |
---|
13 | |
---|
14 | private AnyFilter() { |
---|
15 | } |
---|
16 | |
---|
17 | @Override |
---|
18 | public IResult match(ITask task) { |
---|
19 | IMatch result = new DefaultMatch(task); |
---|
20 | return new SingleMatchResult(result); |
---|
21 | } |
---|
22 | |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.