@Beta public class ContentTypeValidationResult extends Object implements Iterable<ContentTypeValidationError>
Modifier and Type | Class and Description |
---|---|
static class |
ContentTypeValidationResult.Builder |
Modifier and Type | Method and Description |
---|---|
static ContentTypeValidationResult.Builder |
create() |
static ContentTypeValidationResult |
empty() |
boolean |
equals(Object o) |
static ContentTypeValidationResult |
from(ContentTypeValidationError... exceptions) |
static ContentTypeValidationResult |
from(Iterable<ContentTypeValidationError> exceptions) |
static ContentTypeValidationResult |
from(List<ContentTypeValidationError> exceptions) |
ContentTypeValidationError |
getFirst() |
boolean |
hasErrors() |
int |
hashCode() |
Iterator<ContentTypeValidationError> |
iterator() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ContentTypeValidationError getFirst()
public boolean hasErrors()
public Iterator<ContentTypeValidationError> iterator()
iterator
in interface Iterable<ContentTypeValidationError>
public static ContentTypeValidationResult from(List<ContentTypeValidationError> exceptions)
public static ContentTypeValidationResult from(ContentTypeValidationError... exceptions)
public static ContentTypeValidationResult from(Iterable<ContentTypeValidationError> exceptions)
public static ContentTypeValidationResult empty()
public static ContentTypeValidationResult.Builder create()