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

    • 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 WebThumbnail is disposed of.
  • Method Details

    • values

      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

      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