Class DeleteArtifact

All Implemented Interfaces:
ResourceRequest<ResourceResponse<Void>>, Callable<ResourceResponse<Void>>

public class DeleteArtifact extends AbstractResourceRequest<ResourceResponse<Void>>
A request to delete a DOORS Next artifact: module, collection, requirement or folder.

In the case of a requirement used in a module, this class allows requesting the deletion of the associated base artifact, provided it is not used in any other module.

  • Constructor Details

    • DeleteArtifact

      public DeleteArtifact(OslcClient client, URI uri)
      Creates a request to delete an artifact.
      Parameters:
      client - the OSLC client to connect to the application.
      uri - the URI of the DOORS Next artifact. A oslc_config.context parameter can be added to this URI for using a specific configuration.
    • DeleteArtifact

      public DeleteArtifact(OslcClient client, URI uri, boolean deleteUnboundArtifact)
      Creates a request to delete an artifact and optionally its associated base artifact.
      Parameters:
      client - the OSLC client to connect to the application.
      uri - the URI of the DOORS Next artifact. A oslc_config.context parameter can be added to this URI for using a specific configuration.
      deleteUnboundArtifact - determines whether deleting a module artifact should also automatically delete the corresponding base artifact, provided the base artifact is not used in any other module.
  • Method Details