EDMWorkerResult
edm.edom3
Interface EDMWorkerResult
public interface EDMWorkerResult
Contains number of errors and warnings encountered during certain operations.Author:Andre Naess (an@epmtech.jotne.com), EPM Technology
Method Summary
All Methods Instance Methods Abstract MethodsÂ
Modifier and Type Method and Description int
getErrors()
Get number of errors : sum(recoverables,fatals)int
getFatals()
Get number of fatal errors that made the worker stop, ususally 0 or 1.int
getInfos()
Retrieve extra info for readStepFileint
getLines()
Retrieve extra info for readStepFileint
getSdaiError()
Get the sdai error during a failing remote call (?huh?)int
getTotals()
Retrieve extra info for readStepFileint
getUserDefinedStatus()
Retrieve the EDMmethod execution status, which can come from the following sources: - xpxTerminate - in a query schema - xpxTerminateMapping - in a mapping schema - xpxReturnValueToCaller - in a rule schema.long
getValidationErrorId()
Retrieve the validationErrorId, this is the result of validating a model with ValidationErrorModel set to true.int
getWarnings()
Get number of warnings
Method Detail
getWarnings
int getWarnings()
Get number of warningsReturns:number of warnings
getErrors
int getErrors()
Get number of errors : sum(recoverables,fatals)Returns:number of errors
getFatals
int getFatals()
Get number of fatal errors that made the worker stop, ususally 0 or 1.Returns:number of fatals
getSdaiError
int getSdaiError()
Get the sdai error during a failing remote call (?huh?)Returns:sdai error
getInfos
int getInfos()
Retrieve extra info for readStepFileReturns:number of infos logged to the step file reader log file.
getTotals
int getTotals()
Retrieve extra info for readStepFileReturns:total number of diagnostics from the step file reader.
getLines
int getLines()
Retrieve extra info for readStepFileReturns:total number lines read by step file reader.
getUserDefinedStatus
int getUserDefinedStatus()
Retrieve the EDMmethod execution status, which can come from the following sources: - xpxTerminate - in a query schema - xpxTerminateMapping - in a mapping schema - xpxReturnValueToCaller - in a rule schema.Returns:the value set in the schema functions
getValidationErrorId
long getValidationErrorId()
Retrieve the validationErrorId, this is the result of validating a model with ValidationErrorModel set to true. Use the EDMValidator.setValidationErrorModel().Returns:the instanceId of the ValidationErrorModel.