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

Method Slot

java/src/org/openqa/selenium/grid/graphql/Slot.java:39–43  ·  view source on GitHub ↗
(UUID id, Capabilities stereotype, Instant lastStarted)

Source from the content-addressed store, hash-verified

37 private static final Json JSON = new Json();
38
39 public Slot(UUID id, Capabilities stereotype, Instant lastStarted) {
40 this.id = Require.nonNull("Slot ID", id);
41 this.stereotype = ImmutableCapabilities.copyOf(Require.nonNull("Stereotype", stereotype));
42 this.lastStarted = Require.nonNull("Last started", lastStarted);
43 }
44
45 public String getId() {
46 return id.toString();

Callers

nothing calls this directly

Calls 2

nonNullMethod · 0.95
copyOfMethod · 0.95

Tested by

no test coverage detected