Package com.adobe.aemds.guide.utils
Enum GuideConstants.GUIDE_ASSETS
- java.lang.Object
-
- java.lang.Enum<GuideConstants.GUIDE_ASSETS>
-
- com.adobe.aemds.guide.utils.GuideConstants.GUIDE_ASSETS
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GuideConstants.GUIDE_ASSETS>
- Enclosing class:
- GuideConstants
public static enum GuideConstants.GUIDE_ASSETS extends java.lang.Enum<GuideConstants.GUIDE_ASSETS>
Enum to list assets referenced by guides. This enum has to be in sync with GuideCommonAuthoring.js(AuthorUtils.js)#GUIDE_ASSETS. Whenever this enum changes client side enum should be changed accordingly.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description META_TEMPLATE
SCHEMA
THEME
XDP_TEMPLATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAsset()
static GuideConstants.GUIDE_ASSETS
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GuideConstants.GUIDE_ASSETS[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
THEME
public static final GuideConstants.GUIDE_ASSETS THEME
-
XDP_TEMPLATE
public static final GuideConstants.GUIDE_ASSETS XDP_TEMPLATE
-
META_TEMPLATE
public static final GuideConstants.GUIDE_ASSETS META_TEMPLATE
-
SCHEMA
public static final GuideConstants.GUIDE_ASSETS SCHEMA
-
-
Method Detail
-
values
public static GuideConstants.GUIDE_ASSETS[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GuideConstants.GUIDE_ASSETS c : GuideConstants.GUIDE_ASSETS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GuideConstants.GUIDE_ASSETS valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getAsset
public java.lang.String getAsset()
-
-