Class DefaultResourceAddDescriptionProvider

  • All Implemented Interfaces:
    DescriptionProvider

    public class DefaultResourceAddDescriptionProvider
    extends Object
    implements DescriptionProvider
    Uses an analysis of registry metadata to provide a default description of an operation that adds a resource.
    Author:
    Brian Stansberry (c) 2011 Red Hat Inc.
    • Method Detail

      • 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