Package org.fhirfrog.frog.ant.ig
Record Class PackageClassifier.ClassificationResult
java.lang.Object
java.lang.Record
org.fhirfrog.frog.ant.ig.PackageClassifier.ClassificationResult
- Record Components:
includes- packages to add tohapi.fhir.implementationguidesexcludes- packages to add todependencyExcludes
- Enclosing class:
- PackageClassifier
public static record PackageClassifier.ClassificationResult(List<PackageClassifier.PackageRef> includes, List<String> excludes)
extends Record
Result of classifying a full dependency tree.
-
Constructor Summary
ConstructorsConstructorDescriptionClassificationResult(List<PackageClassifier.PackageRef> includes, List<String> excludes) Creates an instance of aClassificationResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.excludes()Returns the value of theexcludesrecord component.final inthashCode()Returns a hash code value for this object.includes()Returns the value of theincludesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
includes
Returns the value of theincludesrecord component.- Returns:
- the value of the
includesrecord component
-
excludes
Returns the value of theexcludesrecord component.- Returns:
- the value of the
excludesrecord component
-