Class ValidationMessage
- java.lang.Object
-
- org.opentest4j.reporting.tooling.validator.ValidationMessage
-
public class ValidationMessage extends java.lang.Object
Validation message with severity and location.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Location
getLocation()
Get the location of this validation message.java.lang.String
getMessage()
Get the message of this validation message.Severity
getSeverity()
Get the severity of this validation message.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getSeverity
public Severity getSeverity()
Get the severity of this validation message.- Returns:
- the severity
-
getLocation
public Location getLocation()
Get the location of this validation message.- Returns:
- the location
-
getMessage
public java.lang.String getMessage()
Get the message of this validation message.- Returns:
- the message
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-