Package com.atlassian.adf.model.node
Enum MediaInline.MediaType
- java.lang.Object
-
- java.lang.Enum<MediaInline.MediaType>
-
- com.atlassian.adf.model.node.MediaInline.MediaType
-
- All Implemented Interfaces:
Serializable,Comparable<MediaInline.MediaType>
- Enclosing class:
- MediaInline
public static enum MediaInline.MediaType extends Enum<MediaInline.MediaType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringmediaType()static MediaInline.MediaTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MediaInline.MediaType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE
public static final MediaInline.MediaType FILE
-
LINK
@Deprecated public static final MediaInline.MediaType LINK
Deprecated.Most of the support forlinkmedia no longer functions in the editor code base, so clients are unlikely to encounter it in the wild and should not use it in new ADF.
-
-
Method Detail
-
values
public static MediaInline.MediaType[] 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 (MediaInline.MediaType c : MediaInline.MediaType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MediaInline.MediaType 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
-
mediaType
public String mediaType()
-
-