Class DefaultNotificationDescriptionProvider
- java.lang.Object
-
- org.jboss.as.controller.descriptions.DefaultNotificationDescriptionProvider
-
- All Implemented Interfaces:
DescriptionProvider
public class DefaultNotificationDescriptionProvider extends Object implements DescriptionProvider
Provides a default description of a notification.- Author:
- Jeff Mesnil (c) 2013 Red Hat Inc.
-
-
Constructor Summary
Constructors Constructor Description DefaultNotificationDescriptionProvider(String notificationType, ResourceDescriptionResolver descriptionResolver, NotificationDefinition.DataValueDescriptor dataValueDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.dmr.ModelNodegetModelDescription(Locale locale)Gets the descriptive information (human-friendly description, list of attributes, list of children) describing a single model node or operation.
-
-
-
Constructor Detail
-
DefaultNotificationDescriptionProvider
public DefaultNotificationDescriptionProvider(String notificationType, ResourceDescriptionResolver descriptionResolver, NotificationDefinition.DataValueDescriptor dataValueDescriptor)
-
-
Method Detail
-
getModelDescription
public org.jboss.dmr.ModelNode getModelDescription(Locale locale)
Description copied from interface:DescriptionProviderGets the descriptive information (human-friendly description, list of attributes, list of children) describing a single model node or operation.The implementation must assume that the caller intends to modify the returned
ModelNodeso it should not hand out a reference to any internal data structures.- Specified by:
getModelDescriptionin interfaceDescriptionProvider- Parameters:
locale- the locale to use to generate any localized text used in the description. May benull, in which caseLocale.getDefault()should be used- Returns:
ModelNodedescribing the model node's structure
-
-