Package hudson.model
Enum ManagementLink.Category
- java.lang.Object
-
- java.lang.Enum<ManagementLink.Category>
-
- hudson.model.ManagementLink.Category
-
- All Implemented Interfaces:
Serializable
,Comparable<ManagementLink.Category>
- Enclosing class:
- ManagementLink
public static enum ManagementLink.Category extends Enum<ManagementLink.Category>
Categories supported by this version of core.- Since:
- 2.226
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURATION
Configuration pages that don't fit into a more specific section.MISC
Anything that doesn't fit into any of the other categories.SECURITY
Security related options.STATUS
Status information about the Jenkins instance, such as log messages, load statistics, or general information.TOOLS
Tools are specifically tools for administrators, such as the Jenkins CLI and Script Console, as well as specific stand-alone administrative features (ShutdownLink
,ReloadLink
).TROUBLESHOOTING
Troubleshooting utilities.UNCATEGORIZED
The default category for uncategorized items.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLabel()
static ManagementLink.Category
valueOf(String name)
Returns the enum constant of this type with the specified name.static ManagementLink.Category[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONFIGURATION
public static final ManagementLink.Category CONFIGURATION
Configuration pages that don't fit into a more specific section.
-
SECURITY
public static final ManagementLink.Category SECURITY
Security related options. Useful for plugins providing security relatedManagementLink
s (e.g. security realms). UseSTATUS
instead if the feature is informational.
-
STATUS
public static final ManagementLink.Category STATUS
Status information about the Jenkins instance, such as log messages, load statistics, or general information.
-
TROUBLESHOOTING
public static final ManagementLink.Category TROUBLESHOOTING
Troubleshooting utilities. This overlaps some with status information, but the difference is that status always applies, while troubleshooting only matters when things go wrong.
-
TOOLS
public static final ManagementLink.Category TOOLS
Tools are specifically tools for administrators, such as the Jenkins CLI and Script Console, as well as specific stand-alone administrative features (ShutdownLink
,ReloadLink
). This has nothing to do with build tools or tool installers.
-
MISC
public static final ManagementLink.Category MISC
Anything that doesn't fit into any of the other categories. Expected to be necessary only very rarely.
-
UNCATEGORIZED
public static final ManagementLink.Category UNCATEGORIZED
The default category for uncategorized items. Do not explicitly specify this category for yourManagementLink
.
-
-
Method Detail
-
values
public static ManagementLink.Category[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ManagementLink.Category c : ManagementLink.Category.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ManagementLink.Category valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getLabel
@NonNull public String getLabel()
-
-