Package org.egothor.methodatlas
Record Class ClassificationOverride.Entry
java.lang.Object
java.lang.Record
org.egothor.methodatlas.ClassificationOverride.Entry
- Record Components:
fqcn- fully qualified class name targeted by this entrymethod- method name targeted;nullfor a class-level override that applies to all methods in the classsecurityRelevant- override value for security relevance;nullmeans "keep existing"- override value for taxonomy tags;nullmeans "keep existing"displayName- override value for the suggested display name;nullmeans "keep existing"reason- override value for the classification rationale;nullmeans "keep existing"note- free-text annotation for human use; never emitted in any output
- Enclosing class:
ClassificationOverride
public static record ClassificationOverride.Entry(String fqcn, String method, Boolean securityRelevant, List<String> tags, String displayName, String reason, String note)
extends Record
A single override entry as stored in the in-memory index.
All fields except fqcn are optional and carry null to
indicate "not overridden". The note field is never emitted in any
output format and exists solely for human documentation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.fqcn()Returns the value of thefqcnrecord component.final inthashCode()Returns a hash code value for this object.method()Returns the value of themethodrecord component.note()Returns the value of thenoterecord component.reason()Returns the value of thereasonrecord component.Returns the value of thesecurityRelevantrecord component.tags()Returns the value of thetagsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Entry
public Entry(String fqcn, String method, Boolean securityRelevant, List<String> tags, String displayName, String reason, String note) Creates an instance of aEntryrecord class.- Parameters:
fqcn- the value for thefqcnrecord componentmethod- the value for themethodrecord componentsecurityRelevant- the value for thesecurityRelevantrecord componenttags- the value for thetagsrecord componentdisplayName- the value for thedisplayNamerecord componentreason- the value for thereasonrecord componentnote- the value for thenoterecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
fqcn
Returns the value of thefqcnrecord component.- Returns:
- the value of the
fqcnrecord component
-
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-
securityRelevant
Returns the value of thesecurityRelevantrecord component.- Returns:
- the value of the
securityRelevantrecord component
-
tags
Returns the value of thetagsrecord component.- Returns:
- the value of the
tagsrecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
note
Returns the value of thenoterecord component.- Returns:
- the value of the
noterecord component
-