ModeShape Distribution 3.5.0.Final

org.modeshape.jmx
Class EnumDescription

java.lang.Object
  extended by org.modeshape.jmx.EnumDescription

public class EnumDescription
extends Object

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


Constructor Summary
EnumDescription(String name, String description)
           
 
Method Summary
 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

ModeShape Distribution 3.5.0.Final

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