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>
public class GetModuleContext extends AbstractResourceRequest<ModuleContext>
Reads information of requirements bound in a module.
-
-
Constructor Summary
Constructors Constructor Description GetModuleContext(OslcClient client, URI uri)
Creates a request to read information of requirements bound in a module.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClientResponse
call(OslcResource resource)
protected ModuleContext
createResponse(OslcResource resource, ClientResponse response)
-
Methods inherited from class com.sodius.oslc.client.requests.AbstractResourceRequest
call, createErrorResponse, createResourceResponse, getClient, getUri
-
-
-
-
Constructor Detail
-
GetModuleContext
public GetModuleContext(OslcClient client, URI uri)
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)
- Specified by:
call
in classAbstractResourceRequest<ModuleContext>
-
createResponse
protected ModuleContext createResponse(OslcResource resource, ClientResponse response)
- Specified by:
createResponse
in classAbstractResourceRequest<ModuleContext>
-
-