Package com.iizix.server.webthumbs
Enum WebThumbnailState
- java.lang.Object
- java.lang.Enum<WebThumbnailState>
- com.iizix.server.webthumbs.WebThumbnailState
 
 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<WebThumbnailState>
 - public enum WebThumbnailState extends java.lang.Enum<WebThumbnailState> Enumeration for the state of a web site thumbnail.- Author:
- Christopher Mindus
 
- Enum Constant Summary- Enum Constants - Enum Constant - Description - DISPOSEDThe instance of the- WebThumbnailis disposed of.- ERRORFlag for error when loading the thumbnail, see more information at- WebThumbnail#getException().- INITIALIZINGThe state is initializing and no values are yet processed.- PENDINGPending execution to load of the thumbnail.- RETRIEVINGThe thumbnail is being retrieved.- SUCCESSSuccess.
 - Method Summary- All Methods Static Methods Concrete Methods - Modifier and Type - Method - Description - static WebThumbnailState- valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.- static WebThumbnailState[]- values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- Enum Constant Detail- INITIALIZING- public static final WebThumbnailState INITIALIZING The state is initializing and no values are yet processed.
 - SUCCESS- public static final WebThumbnailState SUCCESS Success.
 - PENDING- public static final WebThumbnailState PENDING Pending execution to load of the thumbnail.
 - RETRIEVING- public static final WebThumbnailState RETRIEVING The thumbnail is being retrieved.
 - ERROR- public static final WebThumbnailState ERROR Flag for error when loading the thumbnail, see more information at- WebThumbnail#getException().
 - DISPOSED- public static final WebThumbnailState DISPOSED The instance of the- WebThumbnailis disposed of.
 
 - Method Detail- values- public static WebThumbnailState[] 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 (WebThumbnailState c : WebThumbnailState.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - valueOf- public static WebThumbnailState 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 name
- java.lang.NullPointerException- if the argument is null