Package com.postman.collection
Class Event.PostmanScript
java.lang.Object
com.postman.collection.CollectionElement
com.postman.collection.Event.PostmanScript
- Enclosing class:
 Event
- 
Constructor Summary
ConstructorsConstructorDescriptionPostmanScript(String scriptType, String sourceCode) PostmanScript(String scriptType, ArrayList<String> sourceCode)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddSourceCodeElement(String code, int position) getKey()getSourceCodeElement(int position) getType()voidremoveSourceCodeElement(int position) voidsetSourceCode(ArrayList<String> exec) voidMethods inherited from class com.postman.collection.CollectionElement
getCollection, getDefaultCollectionSchema, getDefaultValidationSchema, getParent, getUUID, getValidationMessages, isEquivalentTo, setParent, setUUID, toJson, toJson, validate, validate 
- 
Constructor Details
- 
PostmanScript
 - 
PostmanScript
 
 - 
 - 
Method Details
- 
addSourceCodeElement
 - 
removeSourceCodeElement
- Throws:
 InvalidPropertyException
 - 
getType
 - 
setType
 - 
getSourceCodeElement
- Throws:
 InvalidPropertyException
 - 
getSourceCode
 - 
setSourceCode
 - 
getKey
- Specified by:
 getKeyin classCollectionElement
 
 -