mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-31 05:25:25 +00:00
JENKINS-8897
This commit is contained in:
1 parent
d4db356c1e
commit
998752442a
4 files changed
+49
-52
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user