Enum ConvertToolImageTransformerFactory.ToolChoice
- java.lang.Object
-
- java.lang.Enum<ConvertToolImageTransformerFactory.ToolChoice>
-
- ch.systemsx.cisd.openbis.dss.etl.dto.api.v1.transformations.ConvertToolImageTransformerFactory.ToolChoice
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ConvertToolImageTransformerFactory.ToolChoice>
- Enclosing class:
- ConvertToolImageTransformerFactory
public static enum ConvertToolImageTransformerFactory.ToolChoice extends java.lang.Enum<ConvertToolImageTransformerFactory.ToolChoice>
An enum to choose which of the two tools, ImageMagick or GraphicsMagick, to prefer or to enforce.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENFORCE_GRAPHICSMAGICK
ENFORCE_IMAGEMAGICK
PREFER_GRAPHICSMAGICK
PREFER_IMAGEMAGICK
-
Field Summary
Fields Modifier and Type Field Description ConvertToolImageTransformerFactory.ToolChoice
choice
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConvertToolImageTransformerFactory.ToolChoice
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConvertToolImageTransformerFactory.ToolChoice[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENFORCE_IMAGEMAGICK
public static final ConvertToolImageTransformerFactory.ToolChoice ENFORCE_IMAGEMAGICK
-
ENFORCE_GRAPHICSMAGICK
public static final ConvertToolImageTransformerFactory.ToolChoice ENFORCE_GRAPHICSMAGICK
-
PREFER_IMAGEMAGICK
public static final ConvertToolImageTransformerFactory.ToolChoice PREFER_IMAGEMAGICK
-
PREFER_GRAPHICSMAGICK
public static final ConvertToolImageTransformerFactory.ToolChoice PREFER_GRAPHICSMAGICK
-
-
Field Detail
-
choice
public final ConvertToolImageTransformerFactory.ToolChoice choice
-
-
Method Detail
-
values
public static ConvertToolImageTransformerFactory.ToolChoice[] 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 (ConvertToolImageTransformerFactory.ToolChoice c : ConvertToolImageTransformerFactory.ToolChoice.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConvertToolImageTransformerFactory.ToolChoice 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
-
-