org.plovr.docgen
Class EnumValueDescriptor
java.lang.Object
org.plovr.docgen.EnumValueDescriptor
- All Implemented Interfaces:
- Descriptor
public class EnumValueDescriptor
- extends Object
- implements Descriptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TO_SOY_DATA
public static final Function<EnumValueDescriptor,SoyData> TO_SOY_DATA
EnumValueDescriptor
public EnumValueDescriptor(String name,
String description)
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Descriptor
getName
public String getName()
- Specified by:
getName
in interface Descriptor
toSoyData
public SoyMapData toSoyData()
- Specified by:
toSoyData
in interface Descriptor