@NoImplement
public interface ValidationResultItem
| Modifier and Type | Method and Description |
|---|---|
static ValidationResultItem |
create(ComponentAst component,
ComponentParameterAst parameter,
Validation validation,
String message) |
static ValidationResultItem |
create(ComponentAst component,
ComponentParameterAst parameter,
Validation validation,
String message,
Map<String,String> additionalData) |
static ValidationResultItem |
create(ComponentAst component,
List<ComponentParameterAst> parameters,
Validation validation,
String message) |
static ValidationResultItem |
create(ComponentAst component,
List<ComponentParameterAst> parameters,
Validation validation,
String message,
Map<String,String> additionalData) |
static ValidationResultItem |
create(ComponentAst component,
Validation validation,
String message) |
static ValidationResultItem |
create(List<ComponentAst> components,
List<ComponentParameterAst> parameters,
Validation validation,
String message) |
static ValidationResultItem |
create(List<ComponentAst> components,
List<ComponentParameterAst> parameters,
Validation validation,
String message,
Map<String,String> additionalData) |
static ValidationResultItem |
create(List<ComponentAst> components,
Validation validation,
String message) |
Map<String,String> |
getAdditionalData()
Any additional data provided by the actual validation, providing context for this item (for instance, in the case of
validation on parameter values, it may contain an entry indication in which character of the value the validation error was
found).
|
List<ComponentAst> |
getComponents() |
String |
getMessage() |
List<ComponentParameterAst> |
getParameters() |
Validation |
getValidation() |
static ValidationResultItem create(ComponentAst component, Validation validation, String message)
component - the component this validation result applies to.validation - the validation that failed.message - the message explaining the reason of the validation failure.static ValidationResultItem create(ComponentAst component, ComponentParameterAst parameter, Validation validation, String message)
component - the component this validation result applies to.parameter - the parameter from the component this validation result applies to.validation - the validation that failed.message - the message explaining the reason of the validation failure.static ValidationResultItem create(ComponentAst component, List<ComponentParameterAst> parameters, Validation validation, String message)
component - the component this validation result applies to.parameters - the parameters from the component this validation result applies to.validation - the validation that failed.message - the message explaining the reason of the validation failure.static ValidationResultItem create(ComponentAst component, ComponentParameterAst parameter, Validation validation, String message, Map<String,String> additionalData)
component - the component this validation result applies to.parameter - the parameter from the component this validation result applies to.validation - the validation that failed.message - the message explaining the reason of the validation failure.additionalData - additional data provided by the actual validation.static ValidationResultItem create(ComponentAst component, List<ComponentParameterAst> parameters, Validation validation, String message, Map<String,String> additionalData)
component - the component this validation result applies to.parameters - the parameters from the component this validation result applies to.validation - the validation that failed.message - the message explaining the reason of the validation failure.additionalData - additional data provided by the actual validation.static ValidationResultItem create(List<ComponentAst> components, Validation validation, String message)
components - the components this validation result applies to.validation - the validation that failed.message - the message explaining the reason of the validation failure.static ValidationResultItem create(List<ComponentAst> components, List<ComponentParameterAst> parameters, Validation validation, String message)
components - the components this validation result applies to.parameters - the parameters from the components this validation result applies to.validation - the validation that failed.message - the message explaining the reason of the validation failure.static ValidationResultItem create(List<ComponentAst> components, List<ComponentParameterAst> parameters, Validation validation, String message, Map<String,String> additionalData)
components - the components this validation result applies to.parameters - the parameters from the components this validation result applies to.validation - the validation that failed.message - the message explaining the reason of the validation failure.additionalData - additional data provided by the actual validation.List<ComponentAst> getComponents()
List<ComponentParameterAst> getParameters()
Validation getValidation()
String getMessage()
Map<String,String> getAdditionalData()
Copyright © 2022 MuleSoft, Inc.. All rights reserved.