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
UserPropertys.
To facilitate the separation of the user properties into multiple pages, tabs, and so on,
UserPropertys 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
Nested ClassesModifier and TypeClassDescriptionstatic classUser property related to account settings (e.g.static classUser interface related configurations (e.g.static classPer user feature flags (e.g.static classFor user properties that are not expected to be displayed, typically automatically configured by automated behavior, without direct user interaction.static classPreferences related configurations (e.g.static classSecurity related configurations (e.g.static classThis category is used when theUserPropertyDescriptorhas not implemented theUserPropertyDescriptor.getUserPropertyCategory()method (or the getUserPropertyCategoryAsString method for compatibility reason).Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<UserPropertyCategory> all()Returns all the registeredUserPropertyCategorydescriptors.static <T extends UserPropertyCategory>
Tabstract StringOne-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, waitMethods 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 registeredUserPropertyCategorydescriptors. -
get
-