Class DeleteUserGroup
java.lang.Object
com.sodius.oslc.client.requests.AbstractResourceRequest<ResourceResponse<Void>>
com.sodius.oslc.client.requests.DeleteResource
com.sodius.oslc.app.jazz.lqe.requests.DeleteUserGroup
- All Implemented Interfaces:
ResourceRequest<ResourceResponse<Void>>,Callable<ResourceResponse<Void>>
Deletes a group in LQE.
- Since:
- 1.11.0
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteUserGroup(OslcClient client, URI uri, String eTag) Creates a request to delete a LQE group. -
Method Summary
Modifier and TypeMethodDescriptionprotected ClientResponsecall(OslcResource resource) Executes a DELETE request on the resource.Methods inherited from class com.sodius.oslc.client.requests.DeleteResource
createResponseMethods inherited from class com.sodius.oslc.client.requests.AbstractResourceRequest
call, createErrorResponse, createResourceResponse, getClient, getUri
-
Constructor Details
-
DeleteUserGroup
Creates a request to delete a LQE group.- Parameters:
client- the OSLC client to connect to the application.uri- the group URLeTag- the ETag header obtained in theGetUserGroupresponse
-
-
Method Details
-
call
Description copied from class:DeleteResourceExecutes a DELETE request on the resource.An
OSLC-Core-Versionheader is set to2.0, as the DELETE is expected to execute on an OSLC resource. Clients should subclassAbstractResourceRequestto execute a DELETE on a non-OSLC resource.- Overrides:
callin classDeleteResource- Parameters:
resource- the resource on which to execute a request.- Returns:
- the response of the request execution.
-