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 Details

  • Method Details

    • getModelDescription

      public org.jboss.dmr.ModelNode getModelDescription(Locale locale)
      Description copied from interface: DescriptionProvider
      Gets 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 ModelNode so it should not hand out a reference to any internal data structures.

      Specified by:
      getModelDescription in interface DescriptionProvider
      Parameters:
      locale - the locale to use to generate any localized text used in the description. May be null, in which case Locale.getDefault() should be used
      Returns:
      ModelNode describing the model node's structure