Package io.dropwizard.validation
Class ConstraintViolations
- java.lang.Object
-
- io.dropwizard.validation.ConstraintViolations
-
public class ConstraintViolations extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> com.google.common.collect.ImmutableSet<javax.validation.ConstraintViolation<?>>
copyOf(Set<javax.validation.ConstraintViolation<T>> violations)
static <T> com.google.common.collect.ImmutableList<String>
format(Set<javax.validation.ConstraintViolation<T>> violations)
static <T> String
format(javax.validation.ConstraintViolation<T> v)
static com.google.common.collect.ImmutableList<String>
formatUntyped(Set<javax.validation.ConstraintViolation<?>> violations)
-
-
-
Method Detail
-
format
public static <T> String format(javax.validation.ConstraintViolation<T> v)
-
format
public static <T> com.google.common.collect.ImmutableList<String> format(Set<javax.validation.ConstraintViolation<T>> violations)
-
formatUntyped
public static com.google.common.collect.ImmutableList<String> formatUntyped(Set<javax.validation.ConstraintViolation<?>> violations)
-
copyOf
public static <T> com.google.common.collect.ImmutableSet<javax.validation.ConstraintViolation<?>> copyOf(Set<javax.validation.ConstraintViolation<T>> violations)
-
-