Package com.iizix.server.weblogos
Enum Class WebLogoState
- All Implemented Interfaces:
Serializable
,Comparable<WebLogoState>
,Constable
Enumeration for the state of a Website logo.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Enum ConstantDescriptionThe instance of theWebLogo
is disposed of.Flag for error when loading the logo, see more information atWebThumbnail#getException()
.The state is initializing and no values are yet processed.Pending execution to load of the logo.The logo is being retrieved.Success.Method Summary
Modifier and TypeMethodDescriptionstatic WebLogoState
Returns the enum constant of this class with the specified name.static WebLogoState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
INITIALIZING
The state is initializing and no values are yet processed.SUCCESS
Success.PENDING
Pending execution to load of the logo.RETRIEVING
The logo is being retrieved.ERROR
Flag for error when loading the logo, see more information atWebThumbnail#getException()
.DISPOSED
The instance of theWebLogo
is disposed of.
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