@Component(value="report_ReportParameterValidator")
public class ReportParameterValidator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
ReportParameterValidator() |
Modifier and Type | Method and Description |
---|---|
void |
crossValidateParameters(Report report,
java.util.Map<java.lang.String,java.lang.Object> reportParameters)
Performs cross field parameters validation before running the report.
|
void |
validateParameterValue(ReportInputParameter parameter,
java.lang.Object value)
Checking validation for an input parameter field before running the report.
|
public static final java.lang.String NAME
public void validateParameterValue(ReportInputParameter parameter, java.lang.Object value)
parameter
- data info which describes report's parametervalue
- parameter's valuepublic void crossValidateParameters(Report report, java.util.Map<java.lang.String,java.lang.Object> reportParameters)
report
- report instancereportParameters
- map of parameters values taken from components