Record Class ParsedModuleProvide
java.lang.Object
java.lang.Record
dev.archunitjava.importer.ParsedModuleProvide
- All Implemented Interfaces:
Comparable<ParsedModuleProvide>
public record ParsedModuleProvide(String serviceBinaryName, List<String> providerBinaryNames)
extends Record
implements Comparable<ParsedModuleProvide>
One provides directive and all provider binary names.
-
Constructor Summary
ConstructorsConstructorDescriptionParsedModuleProvide(String serviceBinaryName, List<String> providerBinaryNames) Creates an instance of aParsedModuleProviderecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(ParsedModuleProvide other) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theproviderBinaryNamesrecord component.Returns the value of theserviceBinaryNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParsedModuleProvide
Creates an instance of aParsedModuleProviderecord class.- Parameters:
serviceBinaryName- the value for theserviceBinaryNamerecord componentproviderBinaryNames- the value for theproviderBinaryNamesrecord component
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<ParsedModuleProvide>
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
serviceBinaryName
Returns the value of theserviceBinaryNamerecord component.- Returns:
- the value of the
serviceBinaryNamerecord component
-
providerBinaryNames
-