Package com.adobe.cq.testing.client
Enum ExperienceFragmentsClient.XF_TEMPLATE
- java.lang.Object
-
- java.lang.Enum<ExperienceFragmentsClient.XF_TEMPLATE>
-
- com.adobe.cq.testing.client.ExperienceFragmentsClient.XF_TEMPLATE
-
- All Implemented Interfaces:
ExperienceFragmentsClient.XFTemplate
,Serializable
,Comparable<ExperienceFragmentsClient.XF_TEMPLATE>
- Enclosing class:
- ExperienceFragmentsClient
public static enum ExperienceFragmentsClient.XF_TEMPLATE extends Enum<ExperienceFragmentsClient.XF_TEMPLATE> implements ExperienceFragmentsClient.XFTemplate
Experience Fragments predefined templates
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExperienceFragmentsClient.XF_TEMPLATE
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExperienceFragmentsClient.XF_TEMPLATE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.adobe.cq.testing.client.ExperienceFragmentsClient.XFTemplate
getComponents, isSocialTemplate, path, tags, variantType
-
-
-
-
Enum Constant Detail
-
WEB
public static final ExperienceFragmentsClient.XF_TEMPLATE WEB
-
FACEBOOK
public static final ExperienceFragmentsClient.XF_TEMPLATE FACEBOOK
-
PINTEREST
public static final ExperienceFragmentsClient.XF_TEMPLATE PINTEREST
-
CUSTOM
public static final ExperienceFragmentsClient.XF_TEMPLATE CUSTOM
-
-
Method Detail
-
values
public static ExperienceFragmentsClient.XF_TEMPLATE[] 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 (ExperienceFragmentsClient.XF_TEMPLATE c : ExperienceFragmentsClient.XF_TEMPLATE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExperienceFragmentsClient.XF_TEMPLATE valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-