Uses of Class
com.postman.collection.RecursiveItemAddException
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of RecursiveItemAddException in com.postman.collection
Modifier and TypeMethodDescriptionvoid
Collection.addCollection
(Collection newColl) Add another collection and it's array ofitem
,variable
, andevent
arrays to this collection in a new Folder.void
Collection.addCollection
(Collection newColl, boolean copyScripts, boolean copyVariables) Add another collection and it's array ofitem
, optionallyvariable
, and optionallyevent
arrays to this collection as children of a new Folder child item of this collection.void
Collection.addCollection
(Collection newColl, ItemGroup parent) Add another collection and it's array ofitem
,variable
, andevent
arrays to this collection as children ofparent
void
Collection.addCollection
(Collection newColl, ItemGroup parent, boolean copyScripts, boolean copyVariables) Add another collection and it's array ofitem
, optionallyvariable
, and optionallyevent
arrays to this collection as children of the specified parent.Convenience method to add an item with no child items to this collection.Convenience method to add an item with no child items to this collection.void
Append a new direct child item to the array of items in theitem
property.void
Add a new direct child item to the array of items in theitem
property at the specified index.void
Add multiple items to this item.Collection.addRequest
(RequestBody reqElement, String name) Convenience method to add a newrequest
item as a top level child item of this collectionCollection.addRequest
(RequestBody reqElement, String name, int position) Add a new request to this collection at the specified position in the array ofrequest
elementsCollection.addRequest
(RequestBody reqElement, String name, Response response) Create and add a newrequest
as a top level child item of this collection.Collection.addRequest
(RequestBody newRequest, String name, ArrayList<Response> responses) Convenience method to add a request with a pre-constructed ArrayList<Response
> of response items.Collection.addRequest
(String url) Create and add a newrequest
as a top level child item of this collection.void
Move an item to a different parent item.void
Moves an item in the array of items contained by this collection from one parent to another.