Enum ApogeeExportReport.ExportStatus
- java.lang.Object
-
- java.lang.Enum<ApogeeExportReport.ExportStatus>
-
- org.ametys.plugins.odfsync.apogee.ws.ApogeeExportReport.ExportStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ApogeeExportReport.ExportStatus>
- Enclosing class:
- ApogeeExportReport
public static enum ApogeeExportReport.ExportStatus extends Enum<ApogeeExportReport.ExportStatus>
The status of the export
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_DATA_INVALID
Some data from content are invalid (mandatory code, wrong code format)CONTENT_STRUCTURE_INVALID
The content structure is invalidERROR
An error occurred during the exportOK
The export is working
-
Constructor Summary
Constructors Modifier Constructor Description private
ExportStatus()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApogeeExportReport.ExportStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ApogeeExportReport.ExportStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTENT_DATA_INVALID
public static final ApogeeExportReport.ExportStatus CONTENT_DATA_INVALID
Some data from content are invalid (mandatory code, wrong code format)
-
CONTENT_STRUCTURE_INVALID
public static final ApogeeExportReport.ExportStatus CONTENT_STRUCTURE_INVALID
The content structure is invalid
-
ERROR
public static final ApogeeExportReport.ExportStatus ERROR
An error occurred during the export
-
OK
public static final ApogeeExportReport.ExportStatus OK
The export is working
-
-
Constructor Detail
-
ExportStatus
private ExportStatus()
-
-
Method Detail
-
values
public static ApogeeExportReport.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 (ApogeeExportReport.ExportStatus c : ApogeeExportReport.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 ApogeeExportReport.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
-
-