Modifier and Type | Class and Description |
---|---|
static class |
Errors.Builder
Builder to help construct the Errors.
|
Modifier and Type | Field and Description |
---|---|
static org.forgerock.api.models.Errors.ErrorEntryComparator |
ERROR_ENTRY_COMPARATOR
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Errors.Builder |
errors()
Create a new Builder for Errors.
|
ApiError |
get(String name)
Gets the
ApiError for a given ApiError-name. |
Map<String,ApiError> |
getErrors()
Gets a
Map of error-names to ApiError s. |
Set<String> |
getNames()
Returns all
ApiError names. |
int |
hashCode() |
public static final org.forgerock.api.models.Errors.ErrorEntryComparator ERROR_ENTRY_COMPARATOR
public Map<String,ApiError> getErrors()
Map
of error-names to ApiError
s.Map
of error-names to ApiError
s.public ApiError get(String name)
ApiError
for a given ApiError-name.name
- ApiError nameApiError
or null
if does-not-exist.public static Errors.Builder errors()
Copyright © 2010-2018, ForgeRock All Rights Reserved.