@Beta public class ContentTypeValidationResult extends java.lang.Object implements java.lang.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(java.lang.Object o) |
static ContentTypeValidationResult |
from(ContentTypeValidationError... exceptions) |
static ContentTypeValidationResult |
from(java.lang.Iterable<ContentTypeValidationError> exceptions) |
static ContentTypeValidationResult |
from(java.util.List<ContentTypeValidationError> exceptions) |
ContentTypeValidationError |
getFirst() |
boolean |
hasErrors() |
int |
hashCode() |
java.util.Iterator<ContentTypeValidationError> |
iterator() |
java.lang.String |
toString() |
public ContentTypeValidationError getFirst()
public boolean hasErrors()
public java.util.Iterator<ContentTypeValidationError> iterator()
iterator
in interface java.lang.Iterable<ContentTypeValidationError>
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static ContentTypeValidationResult from(java.util.List<ContentTypeValidationError> exceptions)
public static ContentTypeValidationResult from(ContentTypeValidationError... exceptions)
public static ContentTypeValidationResult from(java.lang.Iterable<ContentTypeValidationError> exceptions)
public static ContentTypeValidationResult empty()
public static ContentTypeValidationResult.Builder create()