Uses of Enum Class
com.postman.collection.enumEventType
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of enumEventType in com.postman.collection
Modifier and TypeMethodDescriptionEvent.getEventType()
Returns the type of this script, eg., pre-request or test, as an enumerated value.static enumEventType
Returns the enum constant of this class with the specified name.static enumEventType[]
enumEventType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionItem.getEvent
(enumEventType evtType) Get an event, specifying whether to return the pre-request script or test script associated with this item.void
Event.setEventType
(enumEventType eventType) Sets the type of this event, eg.ModifierConstructorDescriptionEvent
(enumEventType evtType, String sourceCode) Create a new Event object with the specified EventType (eg., pre-request or test) and source code.