-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathGridControlPlane.java
More file actions
34 lines (24 loc) · 885 Bytes
/
GridControlPlane.java
File metadata and controls
34 lines (24 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.nordstrom.automation.selenium.grid;
import com.nordstrom.automation.selenium.interfaces.BackendCapabilities;
import com.nordstrom.automation.selenium.interfaces.GridBackend;
public class GridControlPlane implements GridBackend {
private final GridBackend backend;
public GridControlPlane(GridBackend backend) {
this.backend = backend;
}
public HubInstance startHub(HubSpec spec) {
return backend.startHub(spec);
}
public NodeInstance startNode(NodeSpec spec) {
return backend.startNode(spec);
}
public void requestHubShutdown(HubInstance instance) {
backend.requestHubShutdown(instance);
}
public void requestNodeShutdown(NodeInstance node) {
backend.requestNodeShutdown(node);
}
public BackendCapabilities capabilities() {
return backend.capabilities();
}
}