Package com.sodius.oslc.app.dng.requests
Class SetRequirementChildren
java.lang.Object
com.sodius.oslc.app.dng.requests.SetRequirementChildren
- All Implemented Interfaces:
ResourceRequest<ResourceResponse<Void>>,Callable<ResourceResponse<Void>>
public class SetRequirementChildren
extends Object
implements ResourceRequest<ResourceResponse<Void>>
Updates the children of a module or of a parent requirement.
This request enables to both reorder child requirements and to promote or demote a requirement in the module hierarchy.
The requirement hierarchy within a module can be obtained using the GetModuleContext request.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSetRequirementChildren(OslcClient client, URI uri, List<URI> children) Creates a request to update the child requirements of an existing DOORS Next module or parent requirement. -
Method Summary
-
Constructor Details
-
SetRequirementChildren
Creates a request to update the child requirements of an existing DOORS Next module or parent requirement.- Parameters:
client- the OSLC client to connect to the application.uri- the URI of a DOORS Next requirement. A oslc_config.context parameter can be added to this URI for using a specific configuration.children- an ordered list of existing requirement URIs to assign as children of the module or parent requirement. Those requirements must already be part of the module.
-
-
Method Details
-
call
- Specified by:
callin interfaceCallable<ResourceResponse<Void>>- Specified by:
callin interfaceResourceRequest<ResourceResponse<Void>>
-