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

Method getPathVariable

server/src/main/java/com/postman/collection/Url.java:536–546  ·  view source on GitHub ↗

@param key @return Property

(String key)

Source from the content-addressed store, hash-verified

534 * @return Property
535 */
536 public Property getPathVariable(String key) {
537 if (this.variable == null) {
538 return null;
539 }
540 for (Property curVar : this.variable) {
541 if (curVar.getKey().equals(key)) {
542 return curVar;
543 }
544 }
545 return null;
546 }
547
548
549 /**

Callers 1

resolvePathVariablesMethod · 0.95

Calls 2

equalsMethod · 0.45
getKeyMethod · 0.45

Tested by

no test coverage detected