Class ValidationMessage
- java.lang.Object
-
- org.opentest4j.reporting.tooling.validator.ValidationMessage
-
public class ValidationMessage extends java.lang.ObjectValidation message with severity and location.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)LocationgetLocation()Get the location of this validation message.java.lang.StringgetMessage()Get the message of this validation message.SeveritygetSeverity()Get the severity of this validation message.inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-