public class TestPingResult
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TestPingResult.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
TestPingResult() |
TestPingResult(java.lang.String result,
java.lang.String duration,
Attributes details) |
Modifier and Type | Method and Description |
---|---|
TestPingResult.Builder |
asBuilder() |
static TestPingResult.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Attributes |
getDetails()
List of each IP the node was able to communicate with.
|
java.lang.String |
getDuration()
The total duration of the ping test.
|
java.lang.String |
getResult()
Result of the ping test.
|
int |
hashCode() |
void |
setDetails(Attributes details) |
void |
setDuration(java.lang.String duration) |
void |
setResult(java.lang.String result) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public TestPingResult(java.lang.String result, java.lang.String duration, Attributes details)
public java.lang.String getResult()
public void setResult(java.lang.String result)
public java.lang.String getDuration()
public void setDuration(java.lang.String duration)
public Attributes getDetails()
public void setDetails(Attributes details)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static TestPingResult.Builder builder()
public final TestPingResult.Builder asBuilder()