public final class Delete extends Operation
Modifier and Type | Class and Description |
---|---|
static class |
Delete.Builder
Builder for the Delete.
|
Modifier and Type | Method and Description |
---|---|
protected void |
allocateToResource(Resource.Builder resourceBuilder)
Allocates the Delete operation type to the given Resource Builder.
|
static Delete.Builder |
delete()
Creates a new builder for Delete.
|
static Delete |
fromAnnotation(Delete delete,
ApiDescription descriptor,
Class<?> relativeType)
Builds a Delete object from the data in the Delete annotation.
|
equals, getApiErrors, getDescription, getParameters, getStability, getSupportedLocales, hashCode
public static Delete.Builder delete()
protected void allocateToResource(Resource.Builder resourceBuilder)
allocateToResource
in class Operation
resourceBuilder
- - Resource Builder to add the operationpublic static Delete fromAnnotation(Delete delete, ApiDescription descriptor, Class<?> relativeType)
delete
- Delete annotation where the data storeddescriptor
- The root descriptor to add definitions to.relativeType
- The type relative to which schema resources should be resolved.Copyright © 2010-2018, ForgeRock All Rights Reserved.