public enum AppTemplate extends Enum<AppTemplate> implements io.wcm.wcm.commons.util.TemplatePathInfo
| Enum Constant and Description |
|---|
ADMIN_REDIRECT
Redirect
|
ADMIN_STRUCTURE_ELEMENT
Structure element
|
EDITORIAL_CONTENT
Content
|
EDITORIAL_HOMEPAGE
Homepage
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceType()
Resource type
|
String |
getTemplatePath()
Template path
|
static AppTemplate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppTemplate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppTemplate ADMIN_STRUCTURE_ELEMENT
public static final AppTemplate ADMIN_REDIRECT
public static final AppTemplate EDITORIAL_CONTENT
public static final AppTemplate EDITORIAL_HOMEPAGE
public static AppTemplate[] values()
for (AppTemplate c : AppTemplate.values()) System.out.println(c);
public static AppTemplate 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 nullpublic String getTemplatePath()
getTemplatePath in interface io.wcm.wcm.commons.util.TemplatePathInfopublic String getResourceType()
getResourceType in interface io.wcm.wcm.commons.util.TemplatePathInfoCopyright © 2014–2018 wcm.io. All rights reserved.