Package org.opencastproject.editor.api
Enum ErrorStatus
- java.lang.Object
-
- java.lang.Enum<ErrorStatus>
-
- org.opencastproject.editor.api.ErrorStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ErrorStatus>
public enum ErrorStatus extends Enum<ErrorStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MEDIAPACKAGE_NOT_FOUNDMETADATA_UPDATE_FAILNO_INTERNAL_PUBLICATIONNOT_AUTHORIZEDUNABLE_TO_CREATE_CATALOGUNKNOWNWORKFLOW_ACTIVEWORKFLOW_ERRORWORKFLOW_NOT_FOUND
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEDIAPACKAGE_NOT_FOUND
public static final ErrorStatus MEDIAPACKAGE_NOT_FOUND
-
WORKFLOW_ACTIVE
public static final ErrorStatus WORKFLOW_ACTIVE
-
UNABLE_TO_CREATE_CATALOG
public static final ErrorStatus UNABLE_TO_CREATE_CATALOG
-
WORKFLOW_ERROR
public static final ErrorStatus WORKFLOW_ERROR
-
WORKFLOW_NOT_FOUND
public static final ErrorStatus WORKFLOW_NOT_FOUND
-
NO_INTERNAL_PUBLICATION
public static final ErrorStatus NO_INTERNAL_PUBLICATION
-
METADATA_UPDATE_FAIL
public static final ErrorStatus METADATA_UPDATE_FAIL
-
NOT_AUTHORIZED
public static final ErrorStatus NOT_AUTHORIZED
-
UNKNOWN
public static final ErrorStatus UNKNOWN
-
-
Method Detail
-
values
public static ErrorStatus[] 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 (ErrorStatus c : ErrorStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorStatus 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
-
-