Record Class ConsoleTemplateValidator.Finding
java.lang.Object
java.lang.Record
org.apache.juneau.console.freemarker.ConsoleTemplateValidator.Finding
- Record Components:
template- The template name, relative to the root, with/separators.line- The 1-based line.column- The 1-based column.rule- The rule id, for exampleunknown-attribute.message- The human-readable message.
- Enclosing class:
- ConsoleTemplateValidator
public static record ConsoleTemplateValidator.Finding(String template, int line, int column, String rule, String message)
extends Record
One lint finding.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcolumn()Returns the value of thecolumnrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intline()Returns the value of thelinerecord component.message()Returns the value of themessagerecord component.rule()Returns the value of therulerecord component.template()Returns the value of thetemplaterecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
Finding
Creates an instance of aFindingrecord class.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
template
Returns the value of thetemplaterecord component.- Returns:
- the value of the
templaterecord component
-
line
Returns the value of thelinerecord component.- Returns:
- the value of the
linerecord component
-
column
Returns the value of thecolumnrecord component.- Returns:
- the value of the
columnrecord component
-
rule
Returns the value of therulerecord component.- Returns:
- the value of the
rulerecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-