Package hudson.model.userproperty
Class UserPropertyCategory
java.lang.Object
hudson.model.userproperty.UserPropertyCategory
- All Implemented Interfaces:
ExtensionPoint
,ModelObject
- Direct Known Subclasses:
UserPropertyCategory.Account
,UserPropertyCategory.Appearance
,UserPropertyCategory.Experimental
,UserPropertyCategory.Invisible
,UserPropertyCategory.Preferences
,UserPropertyCategory.Security
,UserPropertyCategory.Unclassified
Grouping of related
UserProperty
s.
To facilitate the separation of the user properties into multiple pages, tabs, and so on,
UserProperty
s are classified into categories (such as "security", "preferences", 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.
- Since:
- 2.468
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
User property related to account settings (e.g.static class
User interface related configurations (e.g.static class
Per user feature flags (e.g.static class
For user properties that are not expected to be displayed, typically automatically configured by automated behavior, without direct user interaction.static class
Preferences related configurations (e.g.static class
Security related configurations (e.g.static class
This category is used when theUserPropertyDescriptor
has not implemented theUserPropertyDescriptor.getUserPropertyCategory()
method (or the getUserPropertyCategoryAsString method for compatibility reason).Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<UserPropertyCategory>
all()
Returns all the registeredUserPropertyCategory
descriptors.static <T extends UserPropertyCategory>
Tabstract String
One-line plain text message that explains what this category is about.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.model.ModelObject
getDisplayName
-
Constructor Details
-
UserPropertyCategory
public UserPropertyCategory()
-
-
Method Details
-
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 thanModelObject.getDisplayName()
-
all
Returns all the registeredUserPropertyCategory
descriptors. -
get
-