public class DefaultNotificationDescriptionProvider extends Object implements DescriptionProvider
Constructor and Description |
---|
DefaultNotificationDescriptionProvider(String notificationType,
ResourceDescriptionResolver descriptionResolver,
NotificationDefinition.DataValueDescriptor dataValueDescriptor) |
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
getModelDescription(Locale locale)
Gets the descriptive information (human-friendly description, list of attributes,
list of children) describing a single model node or operation.
|
public DefaultNotificationDescriptionProvider(String notificationType, ResourceDescriptionResolver descriptionResolver, NotificationDefinition.DataValueDescriptor dataValueDescriptor)
public org.jboss.dmr.ModelNode getModelDescription(Locale locale)
DescriptionProvider
The implementation must assume that the caller intends to modify the
returned ModelNode
so it should not hand out a reference to any internal data structures.
getModelDescription
in interface DescriptionProvider
locale
- the locale to use to generate any localized text used in the description.
May be null
, in which case Locale.getDefault()
should be usedModelNode
describing the model node's structureCopyright © 2023 JBoss by Red Hat. All rights reserved.