public final class Items extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Items.Builder
Builder to help construct the
Items . |
Modifier and Type | Method and Description |
---|---|
Resource |
asResource(boolean mvccSupported,
Schema resourceSchema,
LocalizableString title,
LocalizableString description)
Builds a
Resource from this Items instance. |
boolean |
equals(Object o) |
static Items |
fromAnnotatedType(Class<?> type,
ApiDescription descriptor,
SubResources subResources)
Build an
Items from an annotated request handler. |
Action[] |
getActions()
Getter of actions.
|
Create |
getCreate()
Getter of Create.
|
Delete |
getDelete()
Getter of Delete.
|
Patch |
getPatch()
Getter of Patch.
|
Parameter |
getPathParameter()
Get the path parameter.
|
Read |
getRead()
Getter of Read.
|
SubResources |
getSubresources()
Getter of sub-resources.
|
Update |
getUpdate()
Getter of Update.
|
int |
hashCode() |
static Items.Builder |
items()
Create a new Builder for Resoruce.
|
public Create getCreate()
public Read getRead()
public Update getUpdate()
public Delete getDelete()
public Patch getPatch()
public Action[] getActions()
public SubResources getSubresources()
public Parameter getPathParameter()
public Resource asResource(boolean mvccSupported, Schema resourceSchema, LocalizableString title, LocalizableString description)
Resource
from this Items
instance.public static Items.Builder items()
public static Items fromAnnotatedType(Class<?> type, ApiDescription descriptor, SubResources subResources)
Items
from an annotated request handler.type
- The annotated type.descriptor
- The root descriptor to add definitions to.subResources
- The sub resources.Items
object.Copyright © 2010-2018, ForgeRock All Rights Reserved.