Package org.codelibs.fess.thumbnail.impl
Enum Class HtmlTagBasedGenerator.Result
java.lang.Object
java.lang.Enum<HtmlTagBasedGenerator.Result>
org.codelibs.fess.thumbnail.impl.HtmlTagBasedGenerator.Result
- All Implemented Interfaces:
Serializable,Comparable<HtmlTagBasedGenerator.Result>,Constable
- Enclosing class:
HtmlTagBasedGenerator
Enumeration representing the possible results of thumbnail image processing.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThumbnail generation failed due to processing errorsImage dimensions do not meet validation requirementsNo valid image data was found in the inputThumbnail was successfully generated -
Method Summary
Modifier and TypeMethodDescriptionstatic HtmlTagBasedGenerator.ResultReturns the enum constant of this class with the specified name.static HtmlTagBasedGenerator.Result[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
Thumbnail was successfully generated -
FAILED
Thumbnail generation failed due to processing errors -
INVALID_SIZE
Image dimensions do not meet validation requirements -
NO_IMAGE
No valid image data was found in the input
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-