Package com.sodius.oslc.app.dng.requests
Class UpdateRequirement
- java.lang.Object
-
- com.sodius.oslc.client.requests.AbstractResourceRequest<ResourceResponse<R>>
-
- com.sodius.oslc.client.requests.PutResource<DngRequirement,Void>
-
- com.sodius.oslc.app.dng.requests.UpdateRequirement
-
- All Implemented Interfaces:
ResourceRequest<ResourceResponse<Void>>
,Callable<ResourceResponse<Void>>
public class UpdateRequirement extends PutResource<DngRequirement,Void>
A request to update the content of a DOORS Next Requirement.
-
-
Constructor Summary
Constructors Constructor Description UpdateRequirement(OslcClient client, URI uri, String eTag, DngRequirement requirement)
Creates a request to update the content of a DOORS Next requirement.
-
Method Summary
-
Methods inherited from class com.sodius.oslc.client.requests.PutResource
call, createResponse
-
Methods inherited from class com.sodius.oslc.client.requests.AbstractResourceRequest
call, createErrorResponse, createResourceResponse, getClient, getUri
-
-
-
-
Constructor Detail
-
UpdateRequirement
public UpdateRequirement(OslcClient client, URI uri, String eTag, DngRequirement requirement)
Creates a request to update the content of a DOORS Next requirement.- Parameters:
client
- the OSLC client to connect to the application.uri
- the URI of a DOORS Next requirement. 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.requirement
- the content of the requirement to put in the existing resource.- See Also:
ResourceResponse.getETag()
-
-