JENKINS-8897

This commit is contained in:
Stuart McCulloch authored and Kohsuke Kawaguchi committed 2011-03-01 12:07:58 -08:00
1 parent d4db356c1e
commit 998752442a
4 files changed
+49 -52

No files matched your search

+13 -1
View File
@@ -23,8 +23,11 @@
*/
package hudson;
import hudson.model.Hudson;
import java.io.File;
import java.io.IOException;
import java.util.List;
/**
* Pluggability point for how to create {@link PluginWrapper}.
@@ -63,4 +66,13 @@ public interface PluginStrategy extends ExtensionPoint {
*/
public abstract void initializeComponents(PluginWrapper plugin);
}
/**
* Find components of the given type using the assigned strategy.
*
* @param type The component type
* @param hudson The Hudson scope
* @return Sequence of components
* @since 1.400
*/
public abstract <T> List<ExtensionComponent<T>> findComponents(Class<T> type, Hudson hudson);
}