Class RemoveGCDeliverableLink

java.lang.Object
com.sodius.oslc.app.jazz.gcm.requests.RemoveGCDeliverableLink
All Implemented Interfaces:
ResourceRequest<Void>, Callable<Void>

public class RemoveGCDeliverableLink extends Object implements ResourceRequest<Void>
Request to remove a RtcCm.PROPERTY_DELIVERABLE property from a remote Global Configuration.

This request should be used to synchronize a Global Configuration when a Deliverable is removed from an OSLC CM application.

The synchronization between a Deliverable and the corresponding Global Configuration must only be done starting from ELM 7.0.2. To check whether a synchronization is required before calling this request, use Gcm.isDeliverableLinkSupported(org.eclipse.lyo.oslc4j.core.model.Publisher).

Since:
1.13.0
  • Constructor Details

    • RemoveGCDeliverableLink

      public RemoveGCDeliverableLink(OslcClient client, URI globalConfiguration, URI deliverable)
      Instantiates a request to remove a link between a remote Global Configuration and a Deliverable.
      Parameters:
      client - the OSLC client
      globalConfiguration - the global configuration URI
      deliverable - the deliverable URI
  • Method Details

    • call

      public Void call()
      Description copied from interface: ResourceRequest
      Executes the request and parse the response content in the specified format. Throws a ClientWebException in case the HTTP response status is not 20x.
      Specified by:
      call in interface Callable<Void>
      Specified by:
      call in interface ResourceRequest<Void>