Class DetachedPluginsUtil.DetachedPlugin

  • Enclosing class:
    DetachedPluginsUtil

    @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public static final class DetachedPluginsUtil.DetachedPlugin
    extends Object
    Information about plugins that were originally in the core.

    A detached plugin is one that has any of the following characteristics:

    • Was an existing plugin that at some time previously bundled with the Jenkins war file.
    • Was previous code in jenkins core that was split to a separate-plugin (but may not have ever been bundled in a jenkins war file - i.e. it gets split after this 2.0 update).
    • Method Detail

      • getShortName

        public String getShortName()
        Get the short name of the plugin.
        Returns:
        The short name of the plugin.
      • getSplitWhen

        public VersionNumber getSplitWhen()
        Get the Jenkins version from which the plugin was detached.
        Returns:
        The Jenkins version from which the plugin was detached.
      • getRequiredVersion

        public VersionNumber getRequiredVersion()
        Gets the minimum required version for the current version of Jenkins.
        Returns:
        the minimum required version for the current version of Jenkins.
        Since:
        2.16