org.modeshape.jmx

## Class EnumDescription

- java.lang.Object
- - org.modeshape.jmx.EnumDescription

-     public class EnumDescription
      extends Object

  Value holder used by the JMX MBean to expose information about enums.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EnumDescription(String name, String description)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDescription()`
    `String` | `getName()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EnumDescription

          public EnumDescription(String name,
                         String description)

      Parameters:
        `name` - the name of the enum (as result of `Enum.name()`
        `description` - an additional description for the enum.

  - ### Method Detail

    - #### getName

          public String getName()

      Returns:
        the enum name

    - #### getDescription

          public String getDescription()

      Returns:
        the enum description which better explains the enum

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.