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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
getName
public String getName()
- Returns:
- the enum name
getDescription
public String getDescription()
- Returns:
- the enum description which better explains the enum
Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.