Class CreateModule

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

public class CreateModule extends AbstractResourceRequest<ResourceResponse<Void>>
A request to create a DOORS Next Module.
See Also:
  • Constructor Details

    • CreateModule

      public CreateModule(OslcClient client, URI creationFactory, Module module)
      Creates a request to create a DOORS Next Module.

      Here is the required information in the specified module:

      • title: the module title.
      • parentFolder: the folder in which the module is to create.
      • instanceShape: the type of module to create. This type can be discovered using GetModuleService, which returns a creation factory per module type.

      Here is the optional information the module may provide:

      • description: the description to assign to the created module.

      The URI of the created module can then be obtained through the "Location" header provided in the request response.

      Parameters:
      client - the OSLC client to connect to the application.
      creationFactory - the URI of the creation factory, as provided by the service in GetModuleService. A oslc_config.context parameter can be added to this URI for using a specific configuration.
      module - the module to create.
      See Also:
  • Method Details