Package org.openqa.selenium.grid.data
Class NodeStatus
- java.lang.Object
-
- org.openqa.selenium.grid.data.NodeStatus
-
public class NodeStatus extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeStatus.Active
-
Constructor Summary
Constructors Constructor Description NodeStatus(java.util.UUID nodeId, java.net.URI externalUri, int maxSessionCount, java.util.Map<org.openqa.selenium.Capabilities,java.lang.Integer> stereotypes, java.util.Collection<NodeStatus.Active> snapshot, java.lang.String registrationSecret)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static NodeStatusfromJson(java.util.Map<java.lang.String,java.lang.Object> raw)java.util.Set<NodeStatus.Active>getCurrentSessions()intgetMaxSessionCount()java.util.UUIDgetNodeId()java.lang.StringgetRegistrationSecret()java.util.Map<org.openqa.selenium.Capabilities,java.lang.Integer>getStereotypes()java.net.URIgetUri()booleanhasCapacity()booleanhasCapacity(org.openqa.selenium.Capabilities caps)inthashCode()
-
-
-
Constructor Detail
-
NodeStatus
public NodeStatus(java.util.UUID nodeId, java.net.URI externalUri, int maxSessionCount, java.util.Map<org.openqa.selenium.Capabilities,java.lang.Integer> stereotypes, java.util.Collection<NodeStatus.Active> snapshot, java.lang.String registrationSecret)
-
-
Method Detail
-
hasCapacity
public boolean hasCapacity()
-
hasCapacity
public boolean hasCapacity(org.openqa.selenium.Capabilities caps)
-
getNodeId
public java.util.UUID getNodeId()
-
getUri
public java.net.URI getUri()
-
getMaxSessionCount
public int getMaxSessionCount()
-
getStereotypes
public java.util.Map<org.openqa.selenium.Capabilities,java.lang.Integer> getStereotypes()
-
getCurrentSessions
public java.util.Set<NodeStatus.Active> getCurrentSessions()
-
getRegistrationSecret
public java.lang.String getRegistrationSecret()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
fromJson
public static NodeStatus fromJson(java.util.Map<java.lang.String,java.lang.Object> raw)
-
-