public static enum TemplateManager.TemplateKind extends java.lang.Enum<TemplateManager.TemplateKind>
| Enum Constant and Description |
|---|
EMBEDDED
The template is a (non-modified) embedded template.
|
EMBEDDED_INSTANCE_SPECIFIC
The template is a non-modified embedded template that is embedded in a
modified parent instance.
|
EMBEDDED_MODIFIED
The template is a modified embedded template.
|
INSTANCE_SPECIFIC
The template is an instance-specific (top-level) template.
|
NORMAL
The template is a normal (top-level) template.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMask()
Gets the mask for filtering templates of this kind.
|
static TemplateManager.TemplateKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TemplateManager.TemplateKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateManager.TemplateKind NORMAL
public static final TemplateManager.TemplateKind EMBEDDED
public static final TemplateManager.TemplateKind INSTANCE_SPECIFIC
public static final TemplateManager.TemplateKind EMBEDDED_INSTANCE_SPECIFIC
public static final TemplateManager.TemplateKind EMBEDDED_MODIFIED
public static TemplateManager.TemplateKind[] values()
for (TemplateManager.TemplateKind c : TemplateManager.TemplateKind.values()) System.out.println(c);
public static TemplateManager.TemplateKind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getMask()