Uses of Class
com.postman.collection.Collection
Packages that use Collection
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of Collection in com.postman.collection
Methods in com.postman.collection that return CollectionModifier and TypeMethodDescriptionCollectionElement.getCollection()Traverse the chain of parent elements upwards until a Collection is reached, or null if this element is not part of a collection.static CollectionCollection.pmcFactory()Static factory method to create the new collection.static CollectionCollection.pmcFactory(PostmanID id) static CollectionCollection.pmcFactory(File jsonFile) Static factory method to create a new Collection from a Postman collection JSON file.static CollectionCollection.pmcFactory(String json) static CollectionCollection.pmcFactory(URL collectionURL) Create a collection via the Postman APIMethods in com.postman.collection with parameters of type CollectionModifier 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. -
Uses of Collection in com.postman.collection.adapter
Methods in com.postman.collection.adapter with parameters of type CollectionModifier and TypeMethodDescriptioncom.google.gson.JsonElementCollectionSerializer.serialize(Collection src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)