public interface ResourceDefinition
Modifier and Type | Interface and Description |
---|---|
static interface |
ResourceDefinition.PostProcessor
Resource specific result processor.
|
Modifier and Type | Method and Description |
---|---|
String |
getPluralName()
Obtain the plural name of the resource.
|
List<ResourceDefinition.PostProcessor> |
getPostProcessors()
Obtain any resource post processors.
|
Renderer |
getRenderer(String name)
Obtain the associated renderer based on name.
|
String |
getSingularName()
Obtain the singular name of the resource.
|
Set<SubResourceDefinition> |
getSubResourceDefinitions()
Obtain a set of all child resource types.
|
Resource.Type |
getType()
Obtain the type of resource.
|
String getPluralName()
String getSingularName()
Resource.Type getType()
Resource.Type
.Set<SubResourceDefinition> getSubResourceDefinitions()
List<ResourceDefinition.PostProcessor> getPostProcessors()
ResultPostProcessor
while post processing a result.Renderer getRenderer(String name) throws IllegalArgumentException
name
- name of the renderer to obtainIllegalArgumentException
- if name is invalid for this resourceCopyright © 2017. All rights reserved.