Last change
on this file since 906 was
772,
checked in by sherbold, 12 years ago
|
- updated QuestPlugin? API and implementing plug-ins to ensure that the internal representation is immutable from the outside.
|
-
Property svn:mime-type set to
text/plain
|
File size:
974 bytes
|
Line | |
---|
1 | package de.ugoe.cs.quest.plugin.jfc; |
---|
2 | |
---|
3 | import java.util.Arrays; |
---|
4 | import java.util.Collections; |
---|
5 | import java.util.List; |
---|
6 | |
---|
7 | import de.ugoe.cs.quest.plugin.QuestPlugin; |
---|
8 | |
---|
9 | /** |
---|
10 | * <p> |
---|
11 | * Identifier class for the QUEST JFC plug-in. |
---|
12 | * </p> |
---|
13 | * |
---|
14 | * @author Steffen Herbold |
---|
15 | * @version 1.0 |
---|
16 | */ |
---|
17 | public class JFCPlugin implements QuestPlugin { |
---|
18 | |
---|
19 | /** |
---|
20 | * <p> |
---|
21 | * The command packages of this plug-in. |
---|
22 | * </p> |
---|
23 | */ |
---|
24 | private final static String[] commandPackages = new String[] |
---|
25 | { "de.ugoe.cs.quest.plugin.jfc.commands" }; |
---|
26 | |
---|
27 | /* |
---|
28 | * (non-Javadoc) |
---|
29 | * |
---|
30 | * @see de.ugoe.cs.quest.plugin.QuestPlugin#getTitle() |
---|
31 | */ |
---|
32 | @Override |
---|
33 | public String getTitle() { |
---|
34 | return "JFC-Plugin"; |
---|
35 | } |
---|
36 | |
---|
37 | /* |
---|
38 | * (non-Javadoc) |
---|
39 | * |
---|
40 | * @see de.ugoe.cs.quest.plugin.QuestPlugin#getCommandPackages() |
---|
41 | */ |
---|
42 | @Override |
---|
43 | public List<String> getCommandPackages() { |
---|
44 | return Collections.unmodifiableList(Arrays.asList(commandPackages)); |
---|
45 | } |
---|
46 | |
---|
47 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.