Enum SmartCrop.Source

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SmartCrop.Source>
    Enclosing interface:
    SmartCrop

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

      Enum Constants 
      Enum Constant Description
      DM
      Represents crop was generated by dynamic media
      NUI
      Represents crop was generated by assetcompute
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SmartCrop.Source fromString​(java.lang.String value)
      Parses string value to return corresponding enum value of SmartCrop.Source, defaults to dynamic media
      static SmartCrop.Source valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SmartCrop.Source[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • 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 Detail

      • values

        public static SmartCrop.Source[] 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 (SmartCrop.Source c : SmartCrop.Source.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SmartCrop.Source 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 name
        java.lang.NullPointerException - if the argument is null
      • fromString

        public static SmartCrop.Source fromString​(java.lang.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