Package com.sodius.oslc.app.dng.requests
Class UpdateModuleStructure
java.lang.Object
com.sodius.oslc.client.requests.AbstractResourceRequest<ResourceResponse<Void>>
com.sodius.oslc.client.requests.PutResource<ModuleContextBinding,Void>
com.sodius.oslc.app.dng.requests.UpdateModuleStructure
- All Implemented Interfaces:
ResourceRequest<ResourceResponse<Void>>,Callable<ResourceResponse<Void>>
A request to update the content of a DOORS Next Module: insert, move or remove requirements in a single request
- Since:
- 2.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateModuleStructure(OslcClient client, URI uri, String eTag, ModuleContextBinding moduleBinding) Creates a request to update the moduleBinding of a DOORS Next Module. -
Method Summary
Modifier and TypeMethodDescriptionprotected ClientResponsecall(OslcResource resource) protected ResourceResponse<Void> createResponse(OslcResource resource, ClientResponse response) Methods inherited from class com.sodius.oslc.client.requests.AbstractResourceRequest
call, createErrorResponse, createResourceResponse, getClient, getUri
-
Constructor Details
-
UpdateModuleStructure
public UpdateModuleStructure(OslcClient client, URI uri, String eTag, ModuleContextBinding moduleBinding) Creates a request to update the moduleBinding of a DOORS Next Module.- Parameters:
client- the OSLC client to connect to the application.uri- the URI of a DOORS Next module. A oslc_config.context parameter can be added to this URI for using a specific configuration.eTag- the ETag header of the existing requirement, as provided in the response of the requirement reading.moduleBinding- the moduleBinding to insert in the existing module.- See Also:
-
-
Method Details
-
call
- Overrides:
callin classPutResource<ModuleContextBinding,Void>
-
createResponse
- Overrides:
createResponsein classPutResource<ModuleContextBinding,Void>
-