Class NestedProjectsCategory

java.lang.Object
jenkins.model.item_category.ItemCategory
jenkins.model.item_category.NestedProjectsCategory
All Implemented Interfaces:
ExtensionPoint

@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @Extension(ordinal=-100.0) public class NestedProjectsCategory extends ItemCategory
Designed for project hierarchies with folders. This category should be moved to cloudbees-folder-plugin short-term. Really when upgrades its baseline to 2.0.
Since:
2.0
  • Constructor Details

    • NestedProjectsCategory

      public NestedProjectsCategory()
  • Method Details

    • getId

      public String getId()
      Description copied from class: ItemCategory
      Identifier, e.g. "standaloneprojects", etc.
      Specified by:
      getId in class ItemCategory
      Returns:
      the identifier
    • getDescription

      public String getDescription()
      Description copied from class: ItemCategory
      The description in plain text
      Specified by:
      getDescription in class ItemCategory
      Returns:
      the description
    • getDisplayName

      public String getDisplayName()
      Description copied from class: ItemCategory
      A human readable name.
      Specified by:
      getDisplayName in class ItemCategory
      Returns:
      the display name
    • getMinToShow

      public int getMinToShow()
      Description copied from class: ItemCategory
      Minimum number of items required to show the category.
      Specified by:
      getMinToShow in class ItemCategory
      Returns:
      the minimum items required