Enum Class WebThumbnailState

java.lang.Object
java.lang.Enum<WebThumbnailState>
com.iizix.server.webthumbs.WebThumbnailState
All Implemented Interfaces:
Serializable, Comparable<WebThumbnailState>, Constable

public enum WebThumbnailState extends Enum<WebThumbnailState>
Enumeration for the state of a Website thumbnail.
Author:
Christopher Mindus
  • Enum Constant Details Link icon

    • INITIALIZING Link icon

      public static final WebThumbnailState INITIALIZING
      The state is initializing and no values are yet processed.
    • SUCCESS Link icon

      public static final WebThumbnailState SUCCESS
      Success.
    • PENDING Link icon

      public static final WebThumbnailState PENDING
      Pending execution to load of the thumbnail.
    • RETRIEVING Link icon

      public static final WebThumbnailState RETRIEVING
      The thumbnail is being retrieved.
    • ERROR Link icon

      public static final WebThumbnailState ERROR
      Flag for error when loading the thumbnail, see more information at WebThumbnail#getException().
    • DISPOSED Link icon

      public static final WebThumbnailState DISPOSED
      The instance of the WebThumbnail is disposed of.
  • Method Details Link icon

    • values Link icon

      public static WebThumbnailState[] 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 Link icon

      public static WebThumbnailState valueOf(String name)
      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 name
      NullPointerException - if the argument is null