Enum Scene7AssetType

java.lang.Object
java.lang.Enum<Scene7AssetType>
com.day.cq.dam.scene7.api.constants.Scene7AssetType
All Implemented Interfaces:
Serializable, Comparable<Scene7AssetType>, java.lang.constant.Constable

public enum Scene7AssetType extends Enum<Scene7AssetType>
Defines the Scene7 asset types.
  • Enum Constant Details

  • Method Details

    • values

      public static Scene7AssetType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Scene7AssetType 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 name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toScene7AssetType

      public static Scene7AssetType toScene7AssetType(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