MCPcopy Create free account
hub / github.com/EsperoTech/yaade / setEventType

Method setEventType

server/src/main/java/com/postman/collection/Event.java:114–120  ·  view source on GitHub ↗

Sets the type of this event, eg. pre-request or test, as an enumerated value @param eventType The type of the event

(enumEventType eventType)

Source from the content-addressed store, hash-verified

112 *
113 */
114 public void setEventType(enumEventType eventType) {
115 if (eventType == enumEventType.PRE_REQUEST) {
116 this.setListen("prerequest");
117 } else if (eventType == enumEventType.TEST) {
118 this.setListen("test");
119 }
120 }
121
122
123 /**

Callers 1

EventMethod · 0.95

Calls 1

setListenMethod · 0.95

Tested by

no test coverage detected