Enum EnrichmentStatus
- java.lang.Object
-
- java.lang.Enum<EnrichmentStatus>
-
- psidev.psi.mi.jami.enricher.listener.EnrichmentStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<EnrichmentStatus>
public enum EnrichmentStatus extends Enum<EnrichmentStatus>
The possible outcomes upon enriching an entry.- Since:
- 08/07/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnrichmentStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static EnrichmentStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final EnrichmentStatus SUCCESS
-
FAILED
public static final EnrichmentStatus FAILED
-
-
Method Detail
-
values
public static EnrichmentStatus[] 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 (EnrichmentStatus c : EnrichmentStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnrichmentStatus 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
-
-