Enum Link.AssetType
- java.lang.Object
-
- java.lang.Enum<Link.AssetType>
-
- com.adobe.cq.forms.core.components.models.formsportal.Link.AssetType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Link.AssetType>
- Enclosing interface:
- Link
public static enum Link.AssetType extends java.lang.Enum<Link.AssetType>
Defines the Asset Type that is being linked to
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADAPTIVE_FORM
EXTERNAL_LINK
NONE
OTHERS
PDF
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Link.AssetType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Link.AssetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADAPTIVE_FORM
public static final Link.AssetType ADAPTIVE_FORM
-
PDF
public static final Link.AssetType PDF
-
OTHERS
public static final Link.AssetType OTHERS
-
EXTERNAL_LINK
public static final Link.AssetType EXTERNAL_LINK
-
NONE
public static final Link.AssetType NONE
-
-
Method Detail
-
values
public static Link.AssetType[] 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 (Link.AssetType c : Link.AssetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Link.AssetType 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
-
-