public final class Create extends Operation
Modifier and Type | Class and Description |
---|---|
static class |
Create.Builder
Builder for the Create.
|
Modifier and Type | Method and Description |
---|---|
protected void |
allocateToResource(Resource.Builder resourceBuilder)
Allocates the Create operation type to the given Resource Builder.
|
static Create.Builder |
create()
Creates a new builder for Create.
|
boolean |
equals(Object o) |
static Create |
fromAnnotation(Create create,
boolean instanceOperations,
ApiDescription descriptor,
Class<?> relativeType)
Builds a Create object from the data in the annotation.
|
CreateMode |
getMode()
Getter of the mode.
|
int |
hashCode() |
Boolean |
isSingleton()
Informs if operation creates singleton resources.
|
getApiErrors, getDescription, getParameters, getStability, getSupportedLocales
public CreateMode getMode()
public Boolean isSingleton()
true
if operation creates singleton resources and false
otherwisepublic static Create.Builder create()
protected void allocateToResource(Resource.Builder resourceBuilder)
allocateToResource
in class Operation
resourceBuilder
- - Resource Builder to add the operationpublic static Create fromAnnotation(Create create, boolean instanceOperations, ApiDescription descriptor, Class<?> relativeType)
create
- Create annotation that holds the datainstanceOperations
- True if the resource is performing instance operations.descriptor
- 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.