MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / toJson

Method toJson

java/src/org/openqa/selenium/grid/data/Slot.java:84–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 }
83
84 private Map<String, @Nullable Object> toJson() {
85 Map<String, @Nullable Object> toReturn = new TreeMap<>();
86 toReturn.put("id", getId());
87 toReturn.put("lastStarted", getLastStarted());
88 toReturn.put("session", getSession());
89 toReturn.put("stereotype", getStereotype());
90 return unmodifiableMap(toReturn);
91 }
92
93 public SlotId getId() {
94 return id;

Callers

nothing calls this directly

Calls 5

getIdMethod · 0.95
getLastStartedMethod · 0.95
getSessionMethod · 0.95
getStereotypeMethod · 0.95
putMethod · 0.65

Tested by

no test coverage detected