Uses of Class
com.postman.collection.InvalidCollectionActionException
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of InvalidCollectionActionException 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.Collection.addRequest
(String url) Create and add a newrequest
as a top level child item of this collection.void
Request.addResponse
(String requestKey, Response response) Add a response object to the request contained by this collection specified byrequestKey
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.static Collection
Collection.pmcFactory
(PostmanID id) static Collection
Collection.pmcFactory
(URL collectionURL) Create a collection via the Postman APICollection.upsertToPostman()
Collection.upsertToPostman
(PostmanID workspaceID) Create or update this collection in Postman.