Changeset 929 for trunk/autoquest-plugin-core/src/main/java
- Timestamp:
- 10/17/12 11:54:37 (12 years ago)
- Location:
- trunk/autoquest-plugin-core/src/main/java/de/ugoe/cs/autoquest/plugin
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-core/src/main/java/de/ugoe/cs/autoquest/plugin/AutoQUESTPlugin.java
r927 r929 19 19 /** 20 20 * <p> 21 * Interface for QUEST plug-ins.21 * Interface for AutoQUEST plug-ins. 22 22 * </p> 23 23 * … … 25 25 * @version 1.0 26 26 */ 27 public interface QuestPlugin {27 public interface AutoQUESTPlugin { 28 28 29 29 /** -
trunk/autoquest-plugin-core/src/main/java/de/ugoe/cs/autoquest/plugin/PluginLoader.java
r927 r929 33 33 /** 34 34 * <p> 35 * This class provides the functionality to load QUEST plug-ins from a35 * This class provides the functionality to load AutoQUEST plug-ins from a 36 36 * pre-defined folder. 37 37 * </p> … … 54 54 * </p> 55 55 */ 56 private final Collection< QuestPlugin> plugins;56 private final Collection<AutoQUESTPlugin> plugins; 57 57 58 58 /** … … 77 77 } 78 78 this.pluginDir = pluginDir; 79 plugins = new LinkedList< QuestPlugin>();79 plugins = new LinkedList<AutoQUESTPlugin>(); 80 80 } 81 81 … … 112 112 } 113 113 try { 114 QuestPlugin pluginObject = (QuestPlugin) pluginClass114 AutoQUESTPlugin pluginObject = (AutoQUESTPlugin) pluginClass 115 115 .newInstance(); 116 116 plugins.add(pluginObject); … … 123 123 } catch (ClassCastException e) { 124 124 throw new PluginLoaderException("Class " + pluginClassName 125 + " not instance of QuestPlugin");125 + " not instance of AutoQUESTPlugin"); 126 126 } 127 127 } … … 232 232 /** 233 233 * <p> 234 * Checks if the name of a file indicates that it defines a QUEST plug-in.234 * Checks if the name of a file indicates that it defines a AutoQUEST plug-in. 235 235 * The structure of valid plug-in filenames is 236 236 * <code>quest-plugin-%PLUGIN_NAME%-version.jar</code>, where … … 241 241 * @param filename 242 242 * filename that is checked 243 * @return true if filename matches pattern of QUEST plug-in; false243 * @return true if filename matches pattern of AutoQUEST plug-in; false 244 244 * otherwise 245 245 */ … … 254 254 } 255 255 256 public Collection< QuestPlugin> getPlugins() {256 public Collection<AutoQUESTPlugin> getPlugins() { 257 257 return Collections.unmodifiableCollection(plugins); 258 258 } -
trunk/autoquest-plugin-core/src/main/java/de/ugoe/cs/autoquest/plugin/PluginLoaderException.java
r927 r929 18 18 * <p> 19 19 * This exception is thrown in case there is an error during the loading of 20 * QUEST plugins. Note that the failures during the loading may result in an20 * AutoQUEST plugins. Note that the failures during the loading may result in an 21 21 * invalid classpath and this exception should, therefore, be treated with 22 22 * appropriate care.
Note: See TracChangeset
for help on using the changeset viewer.