Package ch.so.agi.hop.doclint.scan
Record Class PluginElementScanner.ScanOutcome
java.lang.Object
java.lang.Record
ch.so.agi.hop.doclint.scan.PluginElementScanner.ScanOutcome
- Enclosing class:
PluginElementScanner
public static record PluginElementScanner.ScanOutcome(List<PluginElement> elements, int scannedClasses)
extends Record
Discovered plugin elements and the number of classes that were scanned.
-
Constructor Summary
ConstructorsConstructorDescriptionScanOutcome(List<PluginElement> elements, int scannedClasses) Creates an instance of aScanOutcomerecord class. -
Method Summary
Modifier and TypeMethodDescriptionelements()Returns the value of theelementsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thescannedClassesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScanOutcome
Creates an instance of aScanOutcomerecord class.- Parameters:
elements- the value for theelementsrecord componentscannedClasses- the value for thescannedClassesrecord 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 '=='. -
elements
Returns the value of theelementsrecord component.- Returns:
- the value of the
elementsrecord component
-
scannedClasses
public int scannedClasses()Returns the value of thescannedClassesrecord component.- Returns:
- the value of the
scannedClassesrecord component
-