public abstract class ItemCategory extends Object implements ExtensionPoint
Item
s.Modifier and Type | Class and Description |
---|---|
static class |
ItemCategory.UncategorizedCategory
The default
ItemCategory , if an item doesn't belong anywhere else, this is where it goes by default. |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static int |
MIN_TOSHOW
This field indicates how much non-default categories are required in
order to start showing them in Jenkins.
|
Constructor and Description |
---|
ItemCategory() |
Modifier and Type | Method and Description |
---|---|
static ItemCategory |
getCategory(TopLevelItemDescriptor descriptor)
A
ItemCategory associated to this TopLevelItemDescriptor . |
abstract String |
getDescription()
The description in plain text
|
abstract String |
getDisplayName()
A human readable name.
|
abstract String |
getId()
Identifier, e.g.
|
abstract int |
getMinToShow()
Minimum number of items required to show the category.
|
int |
getOrder() |
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @RestrictedSince(value="2.14") public static final int MIN_TOSHOW
public abstract String getId()
public abstract String getDescription()
public abstract String getDisplayName()
public abstract int getMinToShow()
public int getOrder()
@NonNull public static ItemCategory getCategory(TopLevelItemDescriptor descriptor)
ItemCategory
associated to this TopLevelItemDescriptor
.ItemCategory
, if not found, ItemCategory.UncategorizedCategory
is returnedCopyright © 2004–2022. All rights reserved.