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.plugin.html; |
---|
16 | |
---|
17 | import java.util.Arrays; |
---|
18 | import java.util.Collections; |
---|
19 | import java.util.List; |
---|
20 | |
---|
21 | import de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin; |
---|
22 | |
---|
23 | /** |
---|
24 | * <p> |
---|
25 | * Identifier class for the AutoQUEST HTML plug-in. |
---|
26 | * </p> |
---|
27 | * |
---|
28 | * @author Patrick Harms |
---|
29 | * @version 1.0 |
---|
30 | */ |
---|
31 | public class HTMLPlugin implements AutoQUESTPlugin { |
---|
32 | |
---|
33 | /** |
---|
34 | * <p> |
---|
35 | * The command packages of this plug-in. |
---|
36 | * </p> |
---|
37 | */ |
---|
38 | private final static String[] commandPackages = new String[] |
---|
39 | { "de.ugoe.cs.autoquest.plugin.html.commands" }; |
---|
40 | |
---|
41 | /* |
---|
42 | * (non-Javadoc) |
---|
43 | * |
---|
44 | * @see de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin#getTitle() |
---|
45 | */ |
---|
46 | @Override |
---|
47 | public String getTitle() { |
---|
48 | return "HTML-Plugin"; |
---|
49 | } |
---|
50 | |
---|
51 | /* |
---|
52 | * (non-Javadoc) |
---|
53 | * |
---|
54 | * @see de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin#getCommandPackages() |
---|
55 | */ |
---|
56 | @Override |
---|
57 | public List<String> getCommandPackages() { |
---|
58 | return Collections.unmodifiableList(Arrays.asList(commandPackages)); |
---|
59 | } |
---|
60 | } |
---|