Enum AEMForm.FormType
- java.lang.Object
-
- java.lang.Enum<AEMForm.FormType>
-
- com.adobe.cq.forms.core.components.models.aemform.AEMForm.FormType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AEMForm.FormType>
- Enclosing interface:
- AEMForm
public static enum AEMForm.FormType extends java.lang.Enum<AEMForm.FormType>
Defines the form type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADAPTIVE_FORM
MC_DOCUMENT
MOBILE_FORM
MOBILE_FORMSET
NO_FORM_SELECTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AEMForm.FormType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AEMForm.FormType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_FORM_SELECTED
public static final AEMForm.FormType NO_FORM_SELECTED
-
MOBILE_FORM
public static final AEMForm.FormType MOBILE_FORM
-
ADAPTIVE_FORM
public static final AEMForm.FormType ADAPTIVE_FORM
-
MC_DOCUMENT
public static final AEMForm.FormType MC_DOCUMENT
-
MOBILE_FORMSET
public static final AEMForm.FormType MOBILE_FORMSET
-
-
Method Detail
-
values
public static AEMForm.FormType[] 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 (AEMForm.FormType c : AEMForm.FormType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AEMForm.FormType 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
-
-