Package com.sodius.oslc.app.dng.requests
Class GetModule
- java.lang.Object
-
- com.sodius.oslc.client.requests.AbstractResourceRequest<ResourceResponse<T>>
-
- com.sodius.oslc.client.requests.GetResource<Module>
-
- com.sodius.oslc.app.dng.requests.GetModule
-
- All Implemented Interfaces:
ResourceRequest<ResourceResponse<Module>>
,Callable<ResourceResponse<Module>>
public class GetModule extends GetResource<Module>
Reads the content of a DOORS Next Module
-
-
Constructor Summary
Constructors Constructor Description GetModule(OslcClient client, URI uri)
Creates a request to read the content of a module.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResourceResponse<Module>
createResponse(OslcResource resource, ClientResponse response)
-
Methods inherited from class com.sodius.oslc.client.requests.GetResource
call, get
-
Methods inherited from class com.sodius.oslc.client.requests.AbstractResourceRequest
call, createErrorResponse, createResourceResponse, getClient, getUri
-
-
-
-
Constructor Detail
-
GetModule
public GetModule(OslcClient client, URI uri)
Creates a request to read the content of a 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.
-
-
Method Detail
-
createResponse
protected ResourceResponse<Module> createResponse(OslcResource resource, ClientResponse response)
- Overrides:
createResponse
in classGetResource<Module>
-
-