Record Class ComputeSourceSets.Result
java.lang.Object
java.lang.Record
io.codelaser.maddi.gradleplugin.inputconfig.ComputeSourceSets.Result
- Enclosing class:
ComputeSourceSets
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themainSourceSetNamerecord component.Returns the value of thesourceProjectEdgesrecord component.Returns the value of thesourceSetDependenciesrecord component.Returns the value of thesourceSetsByNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Result
public Result(String mainSourceSetName, Map<String, io.codelaser.maddi.cst.api.element.SourceSet> sourceSetsByName, List<ComputeSourceSets.Result> sourceSetDependencies, Map<String, Set<String>> sourceProjectEdges) Creates an instance of aResultrecord class.- Parameters:
mainSourceSetName- the value for themainSourceSetNamerecord componentsourceSetsByName- the value for thesourceSetsByNamerecord componentsourceSetDependencies- the value for thesourceSetDependenciesrecord componentsourceProjectEdges- the value for thesourceProjectEdgesrecord component
-
-
Method Details
-
allSourceSetsByName
-
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). -
mainSourceSetName
Returns the value of themainSourceSetNamerecord component.- Returns:
- the value of the
mainSourceSetNamerecord component
-
sourceSetsByName
-
sourceSetDependencies
Returns the value of thesourceSetDependenciesrecord component.- Returns:
- the value of the
sourceSetDependenciesrecord component
-
sourceProjectEdges
-