Package com.appliedolap.essbase
Enum Class EssJob.Status
- All Implemented Interfaces:
Serializable,Comparable<EssJob.Status>,Constable
- Enclosing interface:
- EssJob
Models the status of a job. This enum may move inside the EssJob object in the future.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresented in the Essbase REST API with code 100.This is not an official code, we're just using it as a buffer against changes in the API -
Method Summary
Modifier and TypeMethodDescriptionstatic EssJob.StatusfromCode(int code) intgetCode()booleanbooleanstatic EssJob.StatusReturns the enum constant of this class with the specified name.static EssJob.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IN_PROGRESS
Represented in the Essbase REST API with code 100. -
COMPLETED
-
COMPLETED_WITH_WARNINGS
-
FAILED
-
UNKNOWN
This is not an official code, we're just using it as a buffer against changes in the API
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
public int getCode() -
fromCode
-
isComplete
public boolean isComplete() -
isSuccessful
public boolean isSuccessful()
-