Uses of Class
org.pipservices3.commons.validate.ValidationResult
Packages that use ValidationResult
-
Uses of ValidationResult in org.pipservices3.commons.commands
Methods in org.pipservices3.commons.commands that return types with arguments of type ValidationResultModifier and TypeMethodDescriptionCommand.validate(Parameters args) Validates the command Parameters args before execution using the defined schema.CommandSet.validate(String commandName, Parameters args) Validates Parameters args for command specified by its name using defined schema.ICommand.validate(Parameters args) Validates command arguments before execution using defined schema.ICommandInterceptor.validate(ICommand command, Parameters args) Validates arguments of the wrapped command before its execution.InterceptedCommand.validate(Parameters args) Validates the Parameters args that are to be passed to the command that is next in the execution chain. -
Uses of ValidationResult in org.pipservices3.commons.validate
Methods in org.pipservices3.commons.validate that return types with arguments of type ValidationResultModifier and TypeMethodDescriptionValidates the given value and results validation results.Method parameters in org.pipservices3.commons.validate with type arguments of type ValidationResultModifier and TypeMethodDescriptionstatic StringValidationException.composeMessage(List<ValidationResult> results) Composes human readable error message based on validation results.static ValidationExceptionValidationException.fromResults(String correlationId, List<ValidationResult> results, boolean strict) Creates a new ValidationException based on errors in validation results.protected voidSchema.performTypeValidation(String path, Object type, Object value, List<ValidationResult> results) Validates a given value to match specified type.protected voidArraySchema.performValidation(String path, Object value, List<ValidationResult> results) Validates a given value against the schema and configured validation rules.protected voidMapSchema.performValidation(String path, Object value, List<ValidationResult> results) Validates a given value against the schema and configured validation rules.protected voidObjectSchema.performValidation(String path, Object value, List<ValidationResult> results) Validates a given value against the schema and configured validation rules.protected voidPropertySchema.performValidation(String path, Object value, List<ValidationResult> results) Validates a given value against the schema and configured validation rules.protected voidSchema.performValidation(String path, Object value, List<ValidationResult> results) Validates a given value against the schema and configured validation rules.static voidValidationException.throwExceptionIfNeeded(String correlationId, List<ValidationResult> results, boolean strict) Throws ValidationException based on errors in validation results.voidValidates a given value against this rule.voidAtLeastOneExistsRule.validate(String path, Schema schema, Object value, List<ValidationResult> results) Validates a given value against this rule.voidValidates the given value.voidValidates a given value against this rule.voidValidates a given value against this rule.voidValidates a given value against this rule.voidOnlyOneExistsRule.validate(String path, Schema schema, Object value, List<ValidationResult> results) Validates a given value against this rule.voidValidates a given value against this rule.voidPropertiesComparisonRule.validate(String path, Schema schema, Object value, List<ValidationResult> results) Validates a given value against this rule.voidValueComparisonRule.validate(String path, Schema schema, Object value, List<ValidationResult> results) Validates a given value against this rule.Constructor parameters in org.pipservices3.commons.validate with type arguments of type ValidationResultModifierConstructorDescriptionValidationException(String correlationId, List<ValidationResult> results) Creates a new instance of validation exception and assigns its values.