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:
GetModuleContext
-
-
Constructor Summary
Constructors Constructor Description SetRequirementChildren(OslcClient client, URI uri, List<URI> children)
Creates a request to update the child requirements of an existing DOORS Next module or parent requirement.
-
-
-
Constructor Detail
-
SetRequirementChildren
public SetRequirementChildren(OslcClient client, URI uri, List<URI> children)
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 Detail
-
call
public ResourceResponse<Void> call()
- Specified by:
call
in interfaceCallable<ResourceResponse<Void>>
- Specified by:
call
in interfaceResourceRequest<ResourceResponse<Void>>
-
-