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

Method Slot

java/src/org/openqa/selenium/grid/data/Slot.java:40–45  ·  view source on GitHub ↗
(SlotId id, Capabilities stereotype, Instant lastStarted, @Nullable Session session)

Source from the content-addressed store, hash-verified

38 private final Instant lastStarted;
39
40 public Slot(SlotId id, Capabilities stereotype, Instant lastStarted, @Nullable Session session) {
41 this.id = Require.nonNull("Slot ID", id);
42 this.stereotype = ImmutableCapabilities.copyOf(Require.nonNull("Stereotype", stereotype));
43 this.lastStarted = Require.nonNull("Last started", lastStarted);
44 this.session = session;
45 }
46
47 @SuppressWarnings({"unused", "DataFlowIssue"})
48 private static Slot fromJson(JsonInput input) {

Callers

nothing calls this directly

Calls 2

nonNullMethod · 0.95
copyOfMethod · 0.95

Tested by

no test coverage detected