Package com.day.cq.dam.api.s7dam.scene7
Enum ImageUrlApi.RemoteUrlType
- java.lang.Object
-
- java.lang.Enum<ImageUrlApi.RemoteUrlType>
-
- com.day.cq.dam.api.s7dam.scene7.ImageUrlApi.RemoteUrlType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ImageUrlApi.RemoteUrlType>
- Enclosing interface:
- ImageUrlApi
public static enum ImageUrlApi.RemoteUrlType extends java.lang.Enum<ImageUrlApi.RemoteUrlType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImageUrlApi.RemoteUrlTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ImageUrlApi.RemoteUrlType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static ImageUrlApi.RemoteUrlType[] 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 (ImageUrlApi.RemoteUrlType c : ImageUrlApi.RemoteUrlType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImageUrlApi.RemoteUrlType 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
-
-