Package org.forgerock.api.models
Class Delete
- java.lang.Object
 - 
- org.forgerock.api.models.Operation
 - 
- org.forgerock.api.models.Delete
 
 
 
- 
public final class Delete extends Operation
Class that represents the Delete operation type in API descriptor. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDelete.BuilderBuilder for the Delete. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidallocateToResource(Resource.Builder resourceBuilder)Allocates the Delete operation type to the given Resource Builder.static Delete.Builderdelete()Creates a new builder for Delete.static DeletefromAnnotation(Delete delete, ApiDescription descriptor, Class<?> relativeType)Builds a Delete object from the data in the Delete annotation.- 
Methods inherited from class org.forgerock.api.models.Operation
equals, getApiErrors, getDescription, getParameters, getStability, getSupportedLocales, hashCode 
 - 
 
 - 
 
- 
- 
Method Detail
- 
delete
public static Delete.Builder delete()
Creates a new builder for Delete.- Returns:
 - New builder instance
 
 
- 
allocateToResource
protected void allocateToResource(Resource.Builder resourceBuilder)
Allocates the Delete operation type to the given Resource Builder.- Specified by:
 allocateToResourcein classOperation- Parameters:
 resourceBuilder- - Resource Builder to add the operation
 
- 
fromAnnotation
public static Delete fromAnnotation(Delete delete, ApiDescription descriptor, Class<?> relativeType)
Builds a Delete object from the data in the Delete annotation.- Parameters:
 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.- Returns:
 - Delete instance
 
 
 - 
 
 -