Examples of violations()


Examples of org.sonatype.nexus.capability.ValidationResult.violations()

      final ValidationResponse vr = new ValidationResponse();

      for (final Validator validator : validators) {
        final ValidationResult validationResult = validator.validate(properties);
        if (!validationResult.isValid()) {
          for (final ValidationResult.Violation violation : validationResult.violations()) {
            vr.addValidationError(new ValidationMessage(
                violation.key(),
                violation.message()
            ));
          }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.