Package jenkins.model.item_category
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
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.model.item_category.ItemCategory
ItemCategory.UncategorizedCategory
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class jenkins.model.item_category.ItemCategory
MIN_TOSHOW
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe description in plain textA human readable name.getId()
Identifier, e.g.int
Minimum number of items required to show the category.Methods inherited from class jenkins.model.item_category.ItemCategory
getCategory, getOrder
-
Constructor Details
-
NestedProjectsCategory
public NestedProjectsCategory()
-
-
Method Details
-
getId
Description copied from class:ItemCategory
Identifier, e.g. "standaloneprojects", etc.- Specified by:
getId
in classItemCategory
- Returns:
- the identifier
-
getDescription
Description copied from class:ItemCategory
The description in plain text- Specified by:
getDescription
in classItemCategory
- Returns:
- the description
-
getDisplayName
Description copied from class:ItemCategory
A human readable name.- Specified by:
getDisplayName
in classItemCategory
- 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 classItemCategory
- Returns:
- the minimum items required
-