Package com.appliedolap.essbase
Enum Class EssJob.JobType
- All Implemented Interfaces:
Serializable,Comparable<EssJob.JobType>,Constable
- Enclosing interface:
- EssJob
Known job types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThere is no "other" type for an Essbase job, but this gives us some wiggle room in case a new type is introduced, or we cannot otherwise properly parse the return type. -
Method Summary
Modifier and TypeMethodDescriptiongetParam()Represents the name of the param used in the JSON request to the server.The job type as it is returned from the job post API.static EssJob.JobTypetoString()static EssJob.JobTypeReturns the enum constant of this class with the specified name.static EssJob.JobType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOAD_DATA
-
BUILD_DIMENSIONS
-
RUN_CALCULATION
-
CLEAR_DATA
-
IMPORT_EXCEL
-
EXPORT_EXCEL
-
LCM_BACKUP
-
LCM_RESTORE
-
BUILD_AGGREGATION
-
CLEAR_AGGREGATIONS
-
EXPORT_DATA
-
RUN_MDX_SCRIPT
-
UNKNOWN
There is no "other" type for an Essbase job, but this gives us some wiggle room in case a new type is introduced, or we cannot otherwise properly parse the return type.
-
-
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
-
getParam
Represents the name of the param used in the JSON request to the server. This is an instance of the JSON request format 'leaking' but it is what it is. Having this constant be accessible allows us to reference these consistently when putting together a job request.- Returns:
- the parameter as used in the request payload to the job submission API
-
getResponseType
The job type as it is returned from the job post API.- Returns:
- the job type in the job execution response payload
-
parse
-
toString
- Overrides:
toStringin classEnum<EssJob.JobType>
-