Uses of Class
com.postman.collection.InvalidCollectionActionException
Packages that use InvalidCollectionActionException
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of InvalidCollectionActionException in com.postman.collection
Methods in com.postman.collection that throw InvalidCollectionActionExceptionModifier and TypeMethodDescriptionvoidCollection.addCollection(Collection newColl) Add another collection and it's array ofitem,variable, andeventarrays to this collection in a new Folder.voidCollection.addCollection(Collection newColl, boolean copyScripts, boolean copyVariables) Add another collection and it's array ofitem, optionallyvariable, and optionallyeventarrays to this collection as children of a new Folder child item of this collection.voidCollection.addCollection(Collection newColl, ItemGroup parent) Add another collection and it's array ofitem,variable, andeventarrays to this collection as children ofparentvoidCollection.addCollection(Collection newColl, ItemGroup parent, boolean copyScripts, boolean copyVariables) Add another collection and it's array ofitem, optionallyvariable, and optionallyeventarrays to this collection as children of the specified parent.Collection.addRequest(String url) Create and add a newrequestas a top level child item of this collection.voidRequest.addResponse(String requestKey, Response response) Add a response object to the request contained by this collection specified byrequestKeyvoidMove an item to a different parent item.voidMoves an item in the array of items contained by this collection from one parent to another.static CollectionCollection.pmcFactory(PostmanID id) static CollectionCollection.pmcFactory(URL collectionURL) Create a collection via the Postman APICollection.upsertToPostman()Collection.upsertToPostman(PostmanID workspaceID) Create or update this collection in Postman.