source: trunk/autoquest-plugin-usability2/src/main/java/de/ugoe/cs/autoquest/plugin/usability2/rules/results/UnmatchableResult.java @ 1326

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: 1.3 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.plugin.usability2.rules.results;
16
17import java.util.Collections;
18import java.util.Iterator;
19
20/**
21 * <p>
22 * TODO comment
23 * </p>
24 *
25 * @author Konni Hartmann
26 */
27public class UnmatchableResult extends AbstractResult {
28
29    public static final IResult NO_MATCH_FOUND = new UnmatchableResult(false);
30    public static final IResult UNNAMEMABLE_MATCH_FOUND = new UnmatchableResult(true);
31   
32    public UnmatchableResult(boolean present) {
33        super(present);
34    }
35
36    /* (non-Javadoc)
37     * @see java.lang.Iterable#iterator()
38     */
39    @Override
40    public Iterator<IMatch> iterator() {
41        return Collections.emptyIterator();
42    }
43
44}
Note: See TracBrowser for help on using the repository browser.