Enum Scene7AssetType
- java.lang.Object
-
- java.lang.Enum<Scene7AssetType>
-
- com.day.cq.dam.scene7.api.constants.Scene7AssetType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Scene7AssetType>
public enum Scene7AssetType extends java.lang.Enum<Scene7AssetType>
Defines the Scene7 asset types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANIMATED_GIF
ASSET_SET
CATALOG
FLASH
FXG
GENERIC
ILLUSTRATOR
IMAGE
IMAGE_SET
MASTER_VIDEO
MBR_SET
MIXED_MEDIA_SET
PDF
POSTSCRIPT
PSD_TEMPLATE
RENDER_SET
SMART_CROP
SPIN_SET
SPIN_SET_2D
TEMPLATE
THREED
USER_DATA
VIDEO
VIEWER_PRESET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
static Scene7AssetType
toScene7AssetType(java.lang.String type)
Tries to match the given type string to the actual enumstatic Scene7AssetType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Scene7AssetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMAGE
public static final Scene7AssetType IMAGE
-
VIDEO
public static final Scene7AssetType VIDEO
-
MASTER_VIDEO
public static final Scene7AssetType MASTER_VIDEO
-
TEMPLATE
public static final Scene7AssetType TEMPLATE
-
PSD_TEMPLATE
public static final Scene7AssetType PSD_TEMPLATE
-
FLASH
public static final Scene7AssetType FLASH
-
FXG
public static final Scene7AssetType FXG
-
ASSET_SET
public static final Scene7AssetType ASSET_SET
-
MBR_SET
public static final Scene7AssetType MBR_SET
-
IMAGE_SET
public static final Scene7AssetType IMAGE_SET
-
RENDER_SET
public static final Scene7AssetType RENDER_SET
-
SPIN_SET
public static final Scene7AssetType SPIN_SET
-
SPIN_SET_2D
public static final Scene7AssetType SPIN_SET_2D
-
MIXED_MEDIA_SET
public static final Scene7AssetType MIXED_MEDIA_SET
-
PDF
public static final Scene7AssetType PDF
-
CATALOG
public static final Scene7AssetType CATALOG
-
VIEWER_PRESET
public static final Scene7AssetType VIEWER_PRESET
-
SMART_CROP
public static final Scene7AssetType SMART_CROP
-
USER_DATA
public static final Scene7AssetType USER_DATA
-
ANIMATED_GIF
public static final Scene7AssetType ANIMATED_GIF
-
THREED
public static final Scene7AssetType THREED
-
ILLUSTRATOR
public static final Scene7AssetType ILLUSTRATOR
-
POSTSCRIPT
public static final Scene7AssetType POSTSCRIPT
-
GENERIC
public static final Scene7AssetType GENERIC
-
-
Method Detail
-
values
public static Scene7AssetType[] 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 (Scene7AssetType c : Scene7AssetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Scene7AssetType 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
-
getValue
public java.lang.String getValue()
-
toScene7AssetType
public static Scene7AssetType toScene7AssetType(java.lang.String type)
Tries to match the given type string to the actual enum- Parameters:
type
- String representing the asset type- Returns:
- The Enum representing the asset type, if the match is successful If the match is not successful, the GENERIC type will be returned
-
-