Enum SmartCrop.Source

java.lang.Object
java.lang.Enum<SmartCrop.Source>
com.day.cq.dam.api.smartcrop.SmartCrop.Source
All Implemented Interfaces:
Serializable, Comparable<SmartCrop.Source>, java.lang.constant.Constable
Enclosing interface:
SmartCrop

public static enum SmartCrop.Source extends Enum<SmartCrop.Source>
Generation source for crop - dynamicmedia or assetcompute.
  • Enum Constant Details

    • DM

      public static final SmartCrop.Source DM
      Represents crop was generated by dynamic media
    • NUI

      public static final SmartCrop.Source NUI
      Represents crop was generated by assetcompute
  • Method Details

    • values

      public static SmartCrop.Source[] 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 SmartCrop.Source 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
    • fromString

      public static SmartCrop.Source fromString(String value)
      Parses string value to return corresponding enum value of SmartCrop.Source, defaults to dynamic media
      Parameters:
      string - value of source
      Returns:
      SmartCrop.Source