Package com.iizix.server.webthumbs
Enum Class WebThumbnailState
- All Implemented Interfaces:
- Serializable,- Comparable<WebThumbnailState>,- Constable
Enumeration for the state of a Website thumbnail.
- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe instance of the- WebThumbnailis disposed of.Flag for error when loading the thumbnail, see more information at- WebThumbnail#getException().The state is initializing and no values are yet processed.Pending execution to load of the thumbnail.The thumbnail is being retrieved.Success.
- Method SummaryModifier and TypeMethodDescription- static WebThumbnailStateReturns the enum constant of this class with the specified name.- static WebThumbnailState[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- INITIALIZINGThe state is initializing and no values are yet processed.
- SUCCESSSuccess.
- PENDINGPending execution to load of the thumbnail.
- RETRIEVINGThe thumbnail is being retrieved.
- ERRORFlag for error when loading the thumbnail, see more information at- WebThumbnail#getException().
- DISPOSEDThe instance of the- WebThumbnailis disposed of.
 
- Method Details- valuesReturns 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
 
- valueOfReturns 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 name
- NullPointerException- if the argument is null