Enum ImageUrlApi.RemoteUrlType

java.lang.Object
java.lang.Enum<ImageUrlApi.RemoteUrlType>
com.day.cq.dam.api.s7dam.scene7.ImageUrlApi.RemoteUrlType
All Implemented Interfaces:
Serializable, Comparable<ImageUrlApi.RemoteUrlType>, java.lang.constant.Constable
Enclosing interface:
ImageUrlApi

public static enum ImageUrlApi.RemoteUrlType extends Enum<ImageUrlApi.RemoteUrlType>
Format of remote preview/publish URL link to DM asset. Possible values:

SHORT [Default]

LONG

  • Enum Constant Details

    • SHORT

      public static final ImageUrlApi.RemoteUrlType SHORT
      Flat form of remote preview/publish URL link to DM asset. It is default for most uses: http[s]://server[:port]/is/(image|content)/<companyRootFolder>/<s7assetName_unique_per_company>
    • LONG

      public static final ImageUrlApi.RemoteUrlType LONG
      Long form of remote preview/publish URL link to DM asset: http[s]://server[:port]/is/(image|content)/<companyRootFolder>/<f1>/../<fN>/<s7file_with_extension>
  • Method Details

    • values

      public static ImageUrlApi.RemoteUrlType[] 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 ImageUrlApi.RemoteUrlType 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