Package org.cyclos.model.system.imports
Enum ImportedLineStatus
- java.lang.Object
-
- java.lang.Enum<ImportedLineStatus>
-
- org.cyclos.model.system.imports.ImportedLineStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ImportedLineStatus>,HasMessageKey
public enum ImportedLineStatus extends Enum<ImportedLineStatus> implements HasMessageKey
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IMPORT_ERRORThere was an attempt to import this line but some errors were found at this moment.IMPORTEDThe line has been imported successfully.READYThe line is ready to be imported.SKIPPEDThe line has been marked as skipped to prevent it from being imported.VALIDATION_ERRORThe line has validation errors.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetMessageKey()static ImportedLineStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ImportedLineStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READY
public static final ImportedLineStatus READY
The line is ready to be imported.
-
VALIDATION_ERROR
public static final ImportedLineStatus VALIDATION_ERROR
The line has validation errors.
-
SKIPPED
public static final ImportedLineStatus SKIPPED
The line has been marked as skipped to prevent it from being imported.
-
IMPORT_ERROR
public static final ImportedLineStatus IMPORT_ERROR
There was an attempt to import this line but some errors were found at this moment.
-
IMPORTED
public static final ImportedLineStatus IMPORTED
The line has been imported successfully.
-
-
Method Detail
-
values
public static ImportedLineStatus[] 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 (ImportedLineStatus c : ImportedLineStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImportedLineStatus 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
-
-