Package hudson
Class PluginManager
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- hudson.PluginManager
-
- All Implemented Interfaces:
ModelObject,SearchableModelObject,SearchItem,OnMaster,org.kohsuke.stapler.StaplerOverridable,org.kohsuke.stapler.StaplerProxy
- Direct Known Subclasses:
LocalPluginManager
@ExportedBean public abstract class PluginManager extends AbstractModelObject implements OnMaster, org.kohsuke.stapler.StaplerOverridable, org.kohsuke.stapler.StaplerProxy
ManagesPluginWrappers.Setting default Plugin Managers. The default plugin manager in
Constructors are searched in the order provided above and only the first found suitable constructor is tried to build an instance. In the last two cases theJenkinscan be replaced by defining a System Property (hudson.PluginManager.className). SeecreateDefault(Jenkins). This className should be available on early startup, so it cannot come only from a library (e.g. Jenkins module or Extra library dependency in the WAR file project). Plugins cannot be used for such purpose. In order to be correctly instantiated, the class definition must have at least one constructor with the same signature as the following ones:Fileargument refers to the Jenkins home directory.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPluginManager.FailedPluginRemembers why a plugin failed to deploy.static classPluginManager.MetadataCachestatic classPluginManager.PluginCycleDependenciesMonitorAdministrativeMonitorthat checks if there are any plugins with cycle dependencies.static classPluginManager.PluginDeprecationMonitorAdministrativeMonitorthat checks if there are any plugins that are deprecated.static classPluginManager.PluginUpdateMonitorAdministrativeMonitorthat informs the administrator about a required plugin update.static classPluginManager.UberClassLoaderClassLoaderthat can see all plugins.static classPluginManager.UpdateCenterProxyThis allows "Update Center" to live at the URL/pluginManager/updates/in addition to its/updateCenter/URL which is provided byJenkins.getUpdateCenter().
-
Field Summary
Fields Modifier and Type Field Description protected List<PluginWrapper>activePluginsAll active plugins, topologically sorted so that when X depends on Y, Y appears in the list before X does.static PermissionCONFIGURE_UPDATECENTERDeprecated.in Jenkins 2.222 useJenkins.ADMINISTERinsteadjavax.servlet.ServletContextcontextDeprecated.as of 1.355PluginManagercan now live longer thanJenkinsinstance, so useHudson.getInstance().servletContextinstead.static StringCUSTOM_PLUGIN_MANAGERCustom plugin manager system property or context param.protected List<PluginManager.FailedPlugin>failedPluginsstatic booleanFAST_LOOKUPprotected List<PluginWrapper>pluginsAll discovered plugins.booleanpluginUploadedOnce plugin is uploaded, this flag becomes true.FilerootDirPlug-in root directory.static booleanSKIP_PERMISSION_CHECKEscape hatch for StaplerProxy-based access controlClassLoaderuberClassLoaderClassLoaderthat can load all the publicly visible classes from plugins (and including the classloader that loads Hudson itself.)static PermissionUPLOAD_PLUGINSDeprecated.in Jenkins 2.222 useJenkins.ADMINISTERinstead
-
Constructor Summary
Constructors Modifier Constructor Description protectedPluginManager(javax.servlet.ServletContext context, File rootDir)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static voidaddDependencies(URL hpiResUrl, String fromPath, Set<URL> dependencySet)protected voidcopyBundledPlugin(URL src, String fileName)Copies the plugin from the given URL to the given destination.PluginManager.MetadataCachecreateCache()static PluginManagercreateDefault(Jenkins jenkins)Creates thePluginManagerto use if no one is provided to aJenkinsobject.protected PluginStrategycreatePluginStrategy()Creates a hudson.PluginStrategy, looking at the corresponding system property.List<PluginWrapper.PluginDisableResult>disablePlugins(PluginWrapper.PluginDisableStrategy strategy, List<String> plugins)Disable a list of plugins using a strategy for their dependents plugins.<T> Collection<Class<? extends T>>discover(Class<T> spi)Deprecated.UseServiceLoaderinstead, or (more commonly)ExtensionList.FormValidationdoCheckPluginUrl(org.kohsuke.stapler.StaplerRequest request, String value)FormValidationdoCheckUpdateSiteUrl(org.kohsuke.stapler.StaplerRequest request, String value)org.kohsuke.stapler.HttpResponsedoCheckUpdatesServer()voiddoInstall(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)Performs the installation of the plugins.org.kohsuke.stapler.HttpResponsedoInstallNecessaryPlugins(org.kohsuke.stapler.StaplerRequest req)RunsprevalidateConfig(java.io.InputStream)on posted XML and redirects to theUpdateCenter.org.kohsuke.stapler.HttpResponsedoInstallPlugins(org.kohsuke.stapler.StaplerRequest req)Installs a list of plugins from a JSON POST.voiddoInstallPluginsDone()Called to progress status beyond installing plugins, e.g.org.kohsuke.stapler.HttpResponsedoPlugins()Get the list of all plugins - available and installed.org.kohsuke.stapler.HttpResponsedoPluginsSearch(String query, Integer limit)net.sf.json.JSONArraydoPrevalidateConfig(org.kohsuke.stapler.StaplerRequest req)LikedoInstallNecessaryPlugins(StaplerRequest)but only checks if everything is installed or if some plugins need updates or installation.org.kohsuke.stapler.HttpResponsedoProxyConfigure(org.kohsuke.stapler.StaplerRequest req)org.kohsuke.stapler.HttpResponsedoSiteConfigure(String site)Bare-minimum configuration mechanism to change the update center.org.kohsuke.stapler.HttpResponsedoUpdateSources(org.kohsuke.stapler.StaplerRequest req)org.kohsuke.stapler.HttpResponsedoUploadPlugin(org.kohsuke.stapler.StaplerRequest req)Uploads a plugin.voiddynamicLoad(File arc)TODO: revisit where/how to expose this.voiddynamicLoad(File arc, boolean removeExisting, List<PluginWrapper> batch)Try the dynamicLoad, removeExisting to attempt to dynamic load disabled pluginsApigetApi()ManifestgetBundledPluginManifest(String shortName)Deprecated.removed without replacementprotected StringgetDetachedLocation()Defines the location of the detached plugins in the WAR.StringgetDisplayName()List<PluginManager.FailedPlugin>getFailedPlugins()StringgetLastErrorCheckUpdateCenters()Returns the last error raised during the update sites checking.Collection<PluginManagerStaplerOverride>getOverrides()Find all registered overrides (intended to allow overriding/adding views)PluginWrappergetPlugin(Class<? extends Plugin> pluginClazz)Get the plugin instance that implements a specific class, use to find your plugin singleton.PluginWrappergetPlugin(String shortName)Get the plugin instance with the given short name.List<PluginWrapper>getPlugins()All discovered plugins.List<PluginWrapper>getPlugins(Class<? extends Plugin> pluginSuperclass)Get the plugin instances that extend a specific class, use to find similar plugins.PluginStrategygetPluginStrategy()Descriptor<ProxyConfiguration>getProxyDescriptor()StringgetSearchUrl()Returns the URL of this item relative to the parentSearchItem.ObjectgetTarget()PluginManager.UpdateCenterProxygetUpdates()FilegetWorkDir()If non-null, the base directory for all exploded .hpi/.jpi plugins.booleanhasAdoptThisPluginLabel(UpdateSite.Plugin plugin)booleanhasAdoptThisPluginLabel(PluginWrapper plugin)protected StringidentifyPluginShortName(File t)org.jvnet.hudson.reactor.TaskBuilderinitTasks(InitStrategy initStrategy)Called immediately after the construction.List<Future<UpdateCenter.UpdateCenterJob>>install(Collection<String> plugins, boolean dynamicLoad)Performs the installation of the plugins.booleanisMetaLabel(String label)static booleanisNonMetaLabel(String label)booleanisPluginUploaded()Returns true if any new plugin was added.protected abstract Collection<String>loadBundledPlugins()If the war file has any "/WEB-INF/plugins/[*.jpi | *.hpi]", extract them into the plugin directory.protected voidloadDetachedPlugins()Load detached plugins and their dependencies.protected Set<String>loadPluginsFromWar(String fromPath)protected Set<String>loadPluginsFromWar(String fromPath, FilenameFilter filter)Map<String,VersionNumber>parseRequestedPlugins(InputStream configXml)Parses configuration XML files and picks up references to XML files.List<Future<UpdateCenter.UpdateCenterJob>>prevalidateConfig(InputStream configXml)Prepares plugins for some expected XML configuration.voidresolveDependentPlugins()voidstart(List<PluginWrapper> plugins)voidstop()Orderly terminates all the plugins.Stringunscientific(double d)PluginWrapperwhichPlugin(Class c)Return thePluginWrapperthat loaded the given class 'c'.-
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
-
-
-
-
Field Detail
-
CUSTOM_PLUGIN_MANAGER
public static final String CUSTOM_PLUGIN_MANAGER
Custom plugin manager system property or context param.
-
plugins
protected final List<PluginWrapper> plugins
All discovered plugins.
-
activePlugins
protected final List<PluginWrapper> activePlugins
All active plugins, topologically sorted so that when X depends on Y, Y appears in the list before X does.
-
failedPlugins
protected final List<PluginManager.FailedPlugin> failedPlugins
-
rootDir
public final File rootDir
Plug-in root directory.
-
context
@Deprecated public final javax.servlet.ServletContext context
Deprecated.as of 1.355PluginManagercan now live longer thanJenkinsinstance, so useHudson.getInstance().servletContextinstead.
-
uberClassLoader
public final ClassLoader uberClassLoader
ClassLoaderthat can load all the publicly visible classes from plugins (and including the classloader that loads Hudson itself.)
-
pluginUploaded
public volatile boolean pluginUploaded
Once plugin is uploaded, this flag becomes true. This is used to report a message that Jenkins needs to be restarted for new plugins to take effect.
-
FAST_LOOKUP
public static boolean FAST_LOOKUP
-
UPLOAD_PLUGINS
@Deprecated public static final Permission UPLOAD_PLUGINS
Deprecated.in Jenkins 2.222 useJenkins.ADMINISTERinstead
-
CONFIGURE_UPDATECENTER
@Deprecated public static final Permission CONFIGURE_UPDATECENTER
Deprecated.in Jenkins 2.222 useJenkins.ADMINISTERinstead
-
SKIP_PERMISSION_CHECK
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static boolean SKIP_PERMISSION_CHECK
Escape hatch for StaplerProxy-based access control
-
-
Constructor Detail
-
PluginManager
protected PluginManager(javax.servlet.ServletContext context, File rootDir)
-
-
Method Detail
-
createDefault
@NonNull public static PluginManager createDefault(@NonNull Jenkins jenkins)
Creates thePluginManagerto use if no one is provided to aJenkinsobject. This method will be called after creation ofJenkinsobject, but before it is fully initialized.- Parameters:
jenkins- Jenkins Instance.- Returns:
- Plugin manager to use. If no custom class is configured or in case of any error, the default
LocalPluginManageris returned.
-
getApi
public Api getApi()
-
getWorkDir
@CheckForNull public File getWorkDir()
If non-null, the base directory for all exploded .hpi/.jpi plugins.- Returns:
- the base directory for all exploded .hpi/.jpi plugins or
nullto leave this up to the strategy.
-
getOverrides
public Collection<PluginManagerStaplerOverride> getOverrides()
Find all registered overrides (intended to allow overriding/adding views)- Specified by:
getOverridesin interfaceorg.kohsuke.stapler.StaplerOverridable- Returns:
- List of extensions
- Since:
- 1.627
-
initTasks
public org.jvnet.hudson.reactor.TaskBuilder initTasks(InitStrategy initStrategy)
Called immediately after the construction. This is a separate method so that code executed from here will see a valid value inJenkins.pluginManager.
-
getDetachedLocation
@NonNull protected String getDetachedLocation()
Defines the location of the detached plugins in the WAR.- Returns:
- by default,
/WEB-INF/detached-plugins - Since:
- 2.377
-
loadPluginsFromWar
@NonNull protected Set<String> loadPluginsFromWar(@NonNull String fromPath, @CheckForNull FilenameFilter filter)
-
addDependencies
protected static void addDependencies(URL hpiResUrl, String fromPath, Set<URL> dependencySet) throws URISyntaxException, MalformedURLException
-
loadDetachedPlugins
protected void loadDetachedPlugins()
Load detached plugins and their dependencies.Only loads plugins that:
- Have been detached since the last running version.
- Are already installed and need to be upgraded. This can be the case if this Jenkins install has been running since before plugins were "unbundled".
- Are dependencies of one of the above e.g. script-security is not one of the detached plugins but it must be loaded if matrix-project is loaded.
-
getBundledPluginManifest
@Deprecated @CheckForNull public Manifest getBundledPluginManifest(String shortName)
Deprecated.removed without replacementReturns the manifest of a bundled but not-extracted plugin.
-
dynamicLoad
public void dynamicLoad(File arc) throws IOException, InterruptedException, RestartRequiredException
TODO: revisit where/how to expose this. This is an experiment.
-
dynamicLoad
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void dynamicLoad(File arc, boolean removeExisting, @CheckForNull List<PluginWrapper> batch) throws IOException, InterruptedException, RestartRequiredException
Try the dynamicLoad, removeExisting to attempt to dynamic load disabled plugins
-
start
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void start(List<PluginWrapper> plugins) throws Exception
- Throws:
Exception
-
resolveDependentPlugins
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void resolveDependentPlugins()
-
loadBundledPlugins
protected abstract Collection<String> loadBundledPlugins() throws Exception
If the war file has any "/WEB-INF/plugins/[*.jpi | *.hpi]", extract them into the plugin directory.- Returns:
- File names of the bundled plugins. Normally empty (not to be confused with
loadDetachedPlugins()) but OEM WARs may have some. - Throws:
Exception- Any exception will be reported and halt the startup.
-
copyBundledPlugin
protected void copyBundledPlugin(URL src, String fileName) throws IOException
Copies the plugin from the given URL to the given destination. Despite the name, this is used also fromloadDetachedPlugins(). Includes a reasonable up-to-date check. A convenience method to be used byloadBundledPlugins().- Parameters:
fileName- likeabc.jpi- Throws:
IOException
-
createPluginStrategy
protected PluginStrategy createPluginStrategy()
Creates a hudson.PluginStrategy, looking at the corresponding system property.
-
getPluginStrategy
public PluginStrategy getPluginStrategy()
-
isPluginUploaded
public boolean isPluginUploaded()
Returns true if any new plugin was added.
-
getPlugins
@Exported public List<PluginWrapper> getPlugins()
All discovered plugins.
-
getFailedPlugins
public List<PluginManager.FailedPlugin> getFailedPlugins()
-
getPlugin
@CheckForNull public PluginWrapper getPlugin(String shortName)
Get the plugin instance with the given short name.- Parameters:
shortName- the short name of the plugin- Returns:
- The plugin singleton or
nullif a plugin with the given short name does not exist. The fact the plugin is loaded does not mean it is enabled and fully initialized for the current Jenkins session. UsePluginWrapper.isActive()to check it.
-
getPlugin
@CheckForNull public PluginWrapper getPlugin(Class<? extends Plugin> pluginClazz)
Get the plugin instance that implements a specific class, use to find your plugin singleton. Note: beware the classloader fun.- Parameters:
pluginClazz- The class that your plugin implements.- Returns:
- The plugin singleton or
nullif for some reason the plugin is not loaded. The fact the plugin is loaded does not mean it is enabled and fully initialized for the current Jenkins session. UsePlugin.getWrapper()and thenPluginWrapper.isActive()to check it.
-
getPlugins
public List<PluginWrapper> getPlugins(Class<? extends Plugin> pluginSuperclass)
Get the plugin instances that extend a specific class, use to find similar plugins. Note: beware the classloader fun.- Parameters:
pluginSuperclass- The class that your plugin is derived from.- Returns:
- The list of plugins implementing the specified class.
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceModelObject
-
getSearchUrl
public String getSearchUrl()
Description copied from interface:SearchItemReturns the URL of this item relative to the parentSearchItem.- Specified by:
getSearchUrlin interfaceSearchItem- Returns:
- URL like "foo" or "foo/bar". The path can end with '/'. The path that starts with '/' will be interpreted as the absolute path (within the context path of Jenkins.)
-
discover
@Deprecated public <T> Collection<Class<? extends T>> discover(Class<T> spi)
Deprecated.UseServiceLoaderinstead, or (more commonly)ExtensionList.Discover all the service provider implementations of the given class, viaMETA-INF/services.
-
whichPlugin
public PluginWrapper whichPlugin(Class c)
Return thePluginWrapperthat loaded the given class 'c'.- Since:
- 1.402.
-
stop
public void stop()
Orderly terminates all the plugins.
-
isNonMetaLabel
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static boolean isNonMetaLabel(String label)
-
getUpdates
public PluginManager.UpdateCenterProxy getUpdates()
-
doPluginsSearch
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public org.kohsuke.stapler.HttpResponse doPluginsSearch(@QueryParameter String query, @QueryParameter Integer limit)
-
doPlugins
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public org.kohsuke.stapler.HttpResponse doPlugins()
Get the list of all plugins - available and installed.- Returns:
- The list of all plugins - available and installed.
-
doUpdateSources
public org.kohsuke.stapler.HttpResponse doUpdateSources(org.kohsuke.stapler.StaplerRequest req) throws IOException- Throws:
IOException
-
doInstallPluginsDone
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public void doInstallPluginsDone()
Called to progress status beyond installing plugins, e.g. if there were failures that prevented installation from naturally proceeding
-
doInstall
public void doInstall(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletExceptionPerforms the installation of the plugins.- Throws:
IOExceptionjavax.servlet.ServletException
-
doInstallPlugins
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public org.kohsuke.stapler.HttpResponse doInstallPlugins(org.kohsuke.stapler.StaplerRequest req) throws IOExceptionInstalls a list of plugins from a JSON POST.- Parameters:
req- The request object.- Returns:
- A JSON response that includes a "correlationId" in the "data" element.
That "correlationId" can then be used in calls to
UpdateCenter.doInstallStatus(org.kohsuke.stapler.StaplerRequest). - Throws:
IOException- Error reading JSON payload fro request.
-
install
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public List<Future<UpdateCenter.UpdateCenterJob>> install(@NonNull Collection<String> plugins, boolean dynamicLoad)
Performs the installation of the plugins.- Parameters:
plugins- The collection of plugins to install.dynamicLoad- If true, the plugin will be dynamically loaded into this Jenkins. If false, the plugin will only take effect after the reboot. SeeUpdateCenter.isRestartRequiredForCompletion()- Returns:
- The install job list.
- Since:
- 2.0
-
doSiteConfigure
public org.kohsuke.stapler.HttpResponse doSiteConfigure(@QueryParameter String site) throws IOExceptionBare-minimum configuration mechanism to change the update center.- Throws:
IOException
-
doProxyConfigure
@POST public org.kohsuke.stapler.HttpResponse doProxyConfigure(org.kohsuke.stapler.StaplerRequest req) throws IOException, javax.servlet.ServletException- Throws:
IOExceptionjavax.servlet.ServletException
-
doUploadPlugin
public org.kohsuke.stapler.HttpResponse doUploadPlugin(org.kohsuke.stapler.StaplerRequest req) throws IOException, javax.servlet.ServletExceptionUploads a plugin.- Throws:
IOExceptionjavax.servlet.ServletException
-
doCheckPluginUrl
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckPluginUrl(org.kohsuke.stapler.StaplerRequest request, @QueryParameter String value) throws IOException
- Throws:
IOException
-
doCheckUpdateSiteUrl
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckUpdateSiteUrl(org.kohsuke.stapler.StaplerRequest request, @QueryParameter String value) throws InterruptedException
- Throws:
InterruptedException
-
doCheckUpdatesServer
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public org.kohsuke.stapler.HttpResponse doCheckUpdatesServer() throws IOException- Throws:
IOException
-
getLastErrorCheckUpdateCenters
public String getLastErrorCheckUpdateCenters()
Returns the last error raised during the update sites checking.- Returns:
- the last error message
-
getProxyDescriptor
public Descriptor<ProxyConfiguration> getProxyDescriptor()
-
prevalidateConfig
public List<Future<UpdateCenter.UpdateCenterJob>> prevalidateConfig(InputStream configXml) throws IOException
Prepares plugins for some expected XML configuration. If the configuration (typically a job’sconfig.xml) needs some plugins to be installed (or updated), those jobs will be triggered. Plugins are dynamically loaded whenever possible. RequiresJenkins.ADMINISTER.- Parameters:
configXml- configuration that might be uploaded- Returns:
- an empty list if all is well, else a list of submitted jobs which must be completed before this configuration can be fully read
- Throws:
IOException- if loading or parsing the configuration failed- Since:
- 1.483
- See Also:
ItemGroupMixIn.createProjectFromXML(java.lang.String, java.io.InputStream),AbstractItem.updateByXml(javax.xml.transform.Source),XStream2,UpdateSite.Plugin.deploy(boolean),PluginWrapper.supportsDynamicLoad(),UpdateCenter.DownloadJob.SuccessButRequiresRestart
-
doPrevalidateConfig
public net.sf.json.JSONArray doPrevalidateConfig(org.kohsuke.stapler.StaplerRequest req) throws IOExceptionLikedoInstallNecessaryPlugins(StaplerRequest)but only checks if everything is installed or if some plugins need updates or installation. This method runs without side-effect. I'm still requiring the ADMINISTER permission since XML file can contain various external references and we don't configure parsers properly against that.- Throws:
IOException- Since:
- 1.483
-
doInstallNecessaryPlugins
public org.kohsuke.stapler.HttpResponse doInstallNecessaryPlugins(org.kohsuke.stapler.StaplerRequest req) throws IOExceptionRunsprevalidateConfig(java.io.InputStream)on posted XML and redirects to theUpdateCenter.- Throws:
IOException- Since:
- 1.483
-
parseRequestedPlugins
public Map<String,VersionNumber> parseRequestedPlugins(InputStream configXml) throws IOException
Parses configuration XML files and picks up references to XML files.- Throws:
IOException
-
createCache
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public PluginManager.MetadataCache createCache()
-
disablePlugins
@NonNull public List<PluginWrapper.PluginDisableResult> disablePlugins(@NonNull PluginWrapper.PluginDisableStrategy strategy, @NonNull List<String> plugins) throws IOException
Disable a list of plugins using a strategy for their dependents plugins.- Parameters:
strategy- the strategy regarding how the dependent plugins are processedplugins- the list of plugins- Returns:
- the list of results for every plugin and their dependent plugins.
- Throws:
IOException- seePluginWrapper.disable()
-
unscientific
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public String unscientific(double d)
-
getTarget
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public Object getTarget()
- Specified by:
getTargetin interfaceorg.kohsuke.stapler.StaplerProxy
-
isMetaLabel
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public boolean isMetaLabel(String label)
-
hasAdoptThisPluginLabel
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public boolean hasAdoptThisPluginLabel(UpdateSite.Plugin plugin)
-
hasAdoptThisPluginLabel
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public boolean hasAdoptThisPluginLabel(PluginWrapper plugin)
-
-