Uses of Class
org.forgerock.api.models.Resource
Package
Description
ForgeRock API Descriptor models.
API Descriptor utility classes.
-
Uses of Resource in org.forgerock.api.models
Modifier and TypeMethodDescriptionItems.asResource
(boolean mvccSupported, Schema resourceSchema, LocalizableString title, LocalizableString description) Builds aResource
from thisItems
instance.Resource.Builder.build()
Construct a new instance of Resource.static Resource
Resource.fromAnnotatedType
(Class<?> type, Resource.AnnotatedTypeVariant variant, ApiDescription descriptor) Build aResource
from an annotated request handler.static Resource
Resource.fromAnnotatedType
(Class<?> type, Resource.AnnotatedTypeVariant variant, Items items, ApiDescription descriptor, Parameter... extraParameters) Build aResource
from an annotated request handler.static Resource
Resource.fromAnnotatedType
(Class<?> type, Resource.AnnotatedTypeVariant variant, SubResources subResources, ApiDescription descriptor, Parameter... extraParameters) Build aResource
from an annotated request handler.Gets theResource
for a given service-name.Gets theResource
for a given sub-resource name.Gets theResource
for a given version.Modifier and TypeMethodDescriptionVersionedPath.getPaths()
Gets aMap
of versions toResource
s.Services.getServices()
Gets aMap
of service-names toResource
s.SubResources.getSubResources()
Gets aMap
of paths toResource
s.Modifier and TypeMethodDescriptionAdds aResource
.Adds a sub-resource.Adds a resource-version.Adds a resource-version. -
Uses of Resource in org.forgerock.api.util