Record Class GithubAnnotation
java.lang.Object
java.lang.Record
com.netflix.nebula.archrules.gradle.report.GithubAnnotation
- All Implemented Interfaces:
Serializable
public record GithubAnnotation(String path, String annotation_level, String title, String message, String raw_details, int start_line)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theannotation_levelrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.path()Returns the value of thepathrecord component.Returns the value of theraw_detailsrecord component.intReturns the value of thestart_linerecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GithubAnnotation
public GithubAnnotation(String path, String annotation_level, String title, String message, String raw_details, int start_line) Creates an instance of aGithubAnnotationrecord class.- Parameters:
path- the value for thepathrecord componentannotation_level- the value for theannotation_levelrecord componenttitle- the value for thetitlerecord componentmessage- the value for themessagerecord componentraw_details- the value for theraw_detailsrecord componentstart_line- the value for thestart_linerecord component
-
-
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
public final int 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 '=='. -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
annotation_level
Returns the value of theannotation_levelrecord component.- Returns:
- the value of the
annotation_levelrecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
raw_details
Returns the value of theraw_detailsrecord component.- Returns:
- the value of the
raw_detailsrecord component
-
start_line
public int start_line()Returns the value of thestart_linerecord component.- Returns:
- the value of the
start_linerecord component
-