Package digilib.servlet
Enum PDFGenerator.PDFStatus
- java.lang.Object
-
- java.lang.Enum<PDFGenerator.PDFStatus>
-
- digilib.servlet.PDFGenerator.PDFStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<PDFGenerator.PDFStatus>
- Enclosing class:
- PDFGenerator
public static enum PDFGenerator.PDFStatus extends Enum<PDFGenerator.PDFStatus>
Document status. DONE: document exists in cache WIP: document is "work in progress" NONEXISTENT: document does not exist in cache and is not in progress ERROR: an error occurred while processing the request
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONE
ERROR
IOERROR
NONEXISTENT
WIP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PDFGenerator.PDFStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static PDFGenerator.PDFStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DONE
public static final PDFGenerator.PDFStatus DONE
-
WIP
public static final PDFGenerator.PDFStatus WIP
-
NONEXISTENT
public static final PDFGenerator.PDFStatus NONEXISTENT
-
ERROR
public static final PDFGenerator.PDFStatus ERROR
-
IOERROR
public static final PDFGenerator.PDFStatus IOERROR
-
-
Method Detail
-
values
public static PDFGenerator.PDFStatus[] 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 (PDFGenerator.PDFStatus c : PDFGenerator.PDFStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PDFGenerator.PDFStatus valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-