Package | Description |
---|---|
org.forgerock.api.models |
ForgeRock API Descriptor models.
|
org.forgerock.api.util |
API Descriptor utility classes.
|
Modifier and Type | Method and Description |
---|---|
ApiError |
ApiError.Builder.build()
Builds the ApiError.
|
static ApiError |
ApiError.fromAnnotation(ApiError apiError,
ApiDescription descriptor,
Class<?> relativeType)
Builds an ApiError object from the data in the annotation.
|
ApiError |
Errors.get(String name)
Gets the
ApiError for a given ApiError-name. |
ApiError[] |
Operation.getApiErrors()
Getter of the error array.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ApiError> |
Errors.getErrors()
Gets a
Map of error-names to ApiError s. |
Modifier and Type | Method and Description |
---|---|
T |
Operation.Builder.error(ApiError apiError)
Sets a single supported error.
|
Errors.Builder |
Errors.Builder.put(String name,
ApiError apiError)
Adds a
ApiError . |
Modifier and Type | Method and Description |
---|---|
T |
Operation.Builder.errors(List<ApiError> apiErrors)
Set multiple supported errors.
|
Modifier and Type | Method and Description |
---|---|
ApiError |
ReferenceResolver.getError(Reference reference)
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.