public class ErrorMetadata extends Object
Constructor and Description |
---|
ErrorMetadata(Long errorDefinitionId,
String packageName,
String application)
Ctr for the error metadata
|
ErrorMetadata(Long errorDefinitionId,
String workflowExecutionId,
String scenarioExecutionId,
Long connDbId,
String packageName,
String application)
Ctr for the error metadata
|
ErrorMetadata(String application,
String errorCategory,
String errorType,
String userMessage,
String technicalMessage,
String solution,
String impact,
String logLevel)
Ctr for the error metadata
|
Modifier and Type | Method and Description |
---|---|
String |
getApplication()
Gets application.
|
Long |
getConnDbId()
Gets conn db id.
|
ErrorDefinition |
getErrorDefinition()
Gets error definition.
|
Long |
getErrorDefinitionId()
Gets error definition id.
|
Long |
getErrorId()
Gets error id.
|
String |
getPackageName()
Gets package name.
|
String |
getScenarioExecutionId()
Gets scenario execution id.
|
String |
getWorkflowExecutionId()
Gets workflow execution id.
|
void |
setErrorId(Long errorId)
Sets error id, used by MyBatis
|
public ErrorMetadata(@Param(value="application") String application, @Param(value="errorCategory") String errorCategory, @Param(value="errorType") String errorType, @Param(value="userMessage") String userMessage, @Param(value="technicalMessage") String technicalMessage, @Param(value="solution") String solution, @Param(value="impact") String impact, @Param(value="logLevel") String logLevel)
application
- Application that emitted the logerrorCategory
- error categoryerrorType
- error typeuserMessage
- user error messagetechnicalMessage
- technical error messagesolution
- solutionimpact
- impact on the lineagelogLevel
- severitypublic ErrorMetadata(@Param(value="errorDefinitionId") Long errorDefinitionId, @Param(value="workflowExecutionId") String workflowExecutionId, @Param(value="scenarioExecutionId") String scenarioExecutionId, @Param(value="connDbId") Long connDbId, @Param(value="packageName") String packageName, @Param(value="application") String application)
errorDefinitionId
- db id of the error definitionworkflowExecutionId
- workflow execution idscenarioExecutionId
- scenario execution idconnDbId
- db id of the connectionpackageName
- package nameapplication
- applicationpublic Long getErrorDefinitionId()
public Long getErrorId()
public void setErrorId(Long errorId)
errorId
- the error idpublic String getWorkflowExecutionId()
public String getScenarioExecutionId()
public Long getConnDbId()
public String getPackageName()
public String getApplication()
public ErrorDefinition getErrorDefinition()
Copyright © 2020. All rights reserved.