Package com.sodius.oslc.app.dng.requests
Class GetModuleContext
- java.lang.Object
-
- com.sodius.oslc.client.requests.AbstractResourceRequest<ModuleContext>
-
- com.sodius.oslc.app.dng.requests.GetModuleContext
-
- All Implemented Interfaces:
ResourceRequest<ModuleContext>
,Callable<ModuleContext>
@Deprecated(since="2.1.0", forRemoval=false) public class GetModuleContext extends AbstractResourceRequest<ModuleContext>
Deprecated.for performance consideration, rather use GetModuleStructureReads information of requirements bound in a module.This request uses DOORS Next Reportable REST services to provide information on the hierarchy of requirements in the module. This can be significantly slower than executing
GetModuleStructure
, which should be generally preferred.
-
-
Constructor Summary
Constructors Constructor Description GetModuleContext(OslcClient client, URI uri)
Deprecated.Creates a request to read information of requirements bound in a module.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected ClientResponse
call(OslcResource resource)
Deprecated.protected ModuleContext
createResponse(OslcResource resource, ClientResponse response)
Deprecated.-
Methods inherited from class com.sodius.oslc.client.requests.AbstractResourceRequest
call, createErrorResponse, createResourceResponse, getClient, getUri
-
-
-
-
Constructor Detail
-
GetModuleContext
public GetModuleContext(OslcClient client, URI uri)
Deprecated.Creates a request to read information of requirements bound in a module.- Parameters:
client
- the OSLC client to connect to the application.uri
- the URI of a DOORS Next module
-
-
Method Detail
-
call
protected ClientResponse call(OslcResource resource)
Deprecated.- Specified by:
call
in classAbstractResourceRequest<ModuleContext>
-
createResponse
protected ModuleContext createResponse(OslcResource resource, ClientResponse response)
Deprecated.- Specified by:
createResponse
in classAbstractResourceRequest<ModuleContext>
-
-