Package org.exoplatform.wiki.service
Enum ExportStatus
- java.lang.Object
-
- java.lang.Enum<ExportStatus>
-
- org.exoplatform.wiki.service.ExportStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ExportStatus>
public enum ExportStatus extends Enum<ExportStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDDONEIN_PROGRESSSTARTEDZIP_CREATED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExportStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ExportStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STARTED
public static final ExportStatus STARTED
-
IN_PROGRESS
public static final ExportStatus IN_PROGRESS
-
DONE
public static final ExportStatus DONE
-
ZIP_CREATED
public static final ExportStatus ZIP_CREATED
-
CANCELLED
public static final ExportStatus CANCELLED
-
-
Method Detail
-
values
public static ExportStatus[] 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 (ExportStatus c : ExportStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExportStatus 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
-
-