Create a new Event object with the specified EventType (eg., pre-request or test) and source code. The type property is excluded because it is always 'text/javascript', although the schema does theoretically allow for different values @param evtType Enumerated value of the event typ
(enumEventType evtType, String sourceCode)
| 63 | * |
| 64 | */ |
| 65 | public Event(enumEventType evtType, String sourceCode) { |
| 66 | this.setEventType(evtType); |
| 67 | this.setScript(new PostmanScript(this.getScriptType(), sourceCode)); |
| 68 | } |
| 69 | |
| 70 | |
| 71 | /** |
nothing calls this directly
no test coverage detected