jenkins.model
Class GlobalConfigurationCategory
java.lang.Object
jenkins.model.GlobalConfigurationCategory
- All Implemented Interfaces:
- ExtensionPoint, ModelObject
- Direct Known Subclasses:
- GlobalConfigurationCategory.Security, GlobalConfigurationCategory.Unclassified
public abstract class GlobalConfigurationCategory
- extends Object
- implements ExtensionPoint, ModelObject
Grouping of related GlobalConfiguration
s.
To facilitate the separation of the global configuration into multiple pages, tabs, and so on,
GlobalConfiguration
s are classified into categories (such as "security", "tools", as well
as the catch all "unclassified".) Categories themselves are extensible — plugins may introduce
its own category as well, although that should only happen if you are creating a big enough subsystem.
The primary purpose of this is to enable future UIs to split the global configurations to
smaller pieces that can be individually looked at and updated.
- Since:
- 1.494
- Author:
- Kohsuke Kawaguchi
- See Also:
GlobalConfiguration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalConfigurationCategory
public GlobalConfigurationCategory()
getShortDescription
public abstract String getShortDescription()
- One-line plain text message that explains what this category is about.
This can be used in the UI to help the user pick the right category.
The text should be longer than
ModelObject.getDisplayName()
all
public static ExtensionList<GlobalConfigurationCategory> all()
- Returns all the registered
GlobalConfiguration
descriptors.
get
public static <T extends GlobalConfigurationCategory> T get(Class<T> type)
Copyright © 2004-2013. All Rights Reserved.