Record Class OutputValidator.Issue
java.lang.Object
java.lang.Record
network.ike.docs.plugin.OutputValidator.Issue
- Record Components:
file- the file containing the issueline- the 1-based line numberseverity- WARNING or ERRORmessage- human-readable description
- Enclosing class:
OutputValidator
public static record OutputValidator.Issue(Path file, int line, OutputValidator.Severity severity, String message)
extends Record
A single validation issue found in a generated file.
-
Constructor Summary
ConstructorsConstructorDescriptionIssue(Path file, int line, OutputValidator.Severity severity, String message) Creates an instance of aIssuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.file()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.intline()Returns the value of thelinerecord component.message()Returns the value of themessagerecord component.severity()Returns the value of theseverityrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
file
-
line
-
severity
-
message
-