Class CreateWorkItem

java.lang.Object
com.sodius.oslc.app.polarion.requests.CreateWorkItem
All Implemented Interfaces:
ResourceRequest<WorkItem>, Callable<WorkItem>

public class CreateWorkItem extends Object implements ResourceRequest<WorkItem>
A request to create a new work item inside a Polarion document (module).
  • Constructor Details

    • CreateWorkItem

      public CreateWorkItem(PolarionClient client, Document document, WorkItem parentItem, WorkItem item)
      Creates a request to create a Polarion Work Item.

      Here is the required information in the specified item:

      • title: the item title.
      • serviceProvider: the project in which the item is to create.
      Parameters:
      client - the Polarion client to connect to the application.
      document - the document (module) in which the work item is created.
      parentItem - the parent work item under which the new item is inserted.
      item - the item content to assign to the created resource.
  • Method Details