public class CreateCollection extends PostResource<DngCollection,Void>
Constructor and Description |
---|
CreateCollection(OslcClient client,
URI creationFactory,
DngCollection collection)
Creates a request to create a DOORS Next Generation Collection.
|
call, createResponse
call, createResourceResponse, getClient, getUri
public CreateCollection(OslcClient client, URI creationFactory, DngCollection collection)
Here is the required information in the specified collection:
The URI of the created collection can then be obtained through the "Location" header provided in the request response.
client
- the OSLC client to connect to the application.creationFactory
- the URI of the creation factory, allowing the collection creation. A oslc_config.context parameter can be added to
this URI for using a specific configuration.collection
- the collection content to assign to the created resource.