Package org.cyclos.model.system.imports
Enum ImportedFileStatus
- java.lang.Object
-
- java.lang.Enum<ImportedFileStatus>
-
- org.cyclos.model.system.imports.ImportedFileStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ImportedFileStatus>,HasMessageKey
public enum ImportedFileStatus extends Enum<ImportedFileStatus> implements HasMessageKey
Import status
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTEDARCHIVEDIMPORTEDIMPORTINGINTERNAL_ERRORINVALIDREADING_CSVREADING_ZIPREADY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetMessageKey()booleanisFinal()static ImportedFileStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ImportedFileStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID
public static final ImportedFileStatus INVALID
-
INTERNAL_ERROR
public static final ImportedFileStatus INTERNAL_ERROR
-
READING_CSV
public static final ImportedFileStatus READING_CSV
-
READING_ZIP
public static final ImportedFileStatus READING_ZIP
-
READY
public static final ImportedFileStatus READY
-
IMPORTING
public static final ImportedFileStatus IMPORTING
-
IMPORTED
public static final ImportedFileStatus IMPORTED
-
ARCHIVED
public static final ImportedFileStatus ARCHIVED
-
ABORTED
public static final ImportedFileStatus ABORTED
-
-
Method Detail
-
values
public static ImportedFileStatus[] 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 (ImportedFileStatus c : ImportedFileStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImportedFileStatus 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
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
isFinal
public boolean isFinal()
-
-