Package org.forgerock.api.models
Class Errors
java.lang.Object
org.forgerock.api.models.Errors
Class that represents API descriptor
ApiError
errors.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder to help construct the Errors. -
Field Summary
Modifier and TypeFieldDescriptionstatic final org.forgerock.api.models.Errors.ErrorEntryComparator
-
Method Summary
-
Field Details
-
ERROR_ENTRY_COMPARATOR
public static final org.forgerock.api.models.Errors.ErrorEntryComparator ERROR_ENTRY_COMPARATOR
-
-
Method Details
-
getErrors
Gets aMap
of error-names toApiError
s.- Returns:
Map
of error-names toApiError
s.
-
get
Gets theApiError
for a given ApiError-name.- Parameters:
name
- ApiError name- Returns:
ApiError
ornull
if does-not-exist.
-
getNames
Returns allApiError
names.- Returns:
- All
ApiError
names.
-
equals
-
hashCode
public int hashCode() -
errors
Create a new Builder for Errors.- Returns:
- Builder
-