public enum $EnumTemplate extends Enum<$EnumTemplate>
$EnumTemplate interface provides the Velocity template for Projo's scraping mechanism
for enums. The class is both a completely valid Java class and a valid Apache Velocity template (which is
why the specific definition of its template references may appear a little funky at first glance), though it is
currently treated as a resource, not a Java source.
#
$javadoc
#*| Modifier and Type | Method and Description |
|---|---|
static $EnumTemplate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static $EnumTemplate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static $EnumTemplate[] values()
for ($EnumTemplate c : $EnumTemplate.values()) System.out.println(c);
public static $EnumTemplate valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2024. All rights reserved.