Record Class AnalyzerPropertyComputer
java.lang.Object
java.lang.Record
io.codelaser.maddi.gradleplugin.AnalyzerPropertyComputer
public record AnalyzerPropertyComputer(Map<String, ActionBroadcast<AnalyzerProperties>> actionBroadcastMap, org.gradle.api.Project targetProject)
extends Record
Property names are identical to those of the CLI (.cli.Main). In the system properties,
they have to be prefixed by the PREFIX defined in this class.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnalyzerPropertyComputer(Map<String, ActionBroadcast<AnalyzerProperties>> actionBroadcastMap, org.gradle.api.Project targetProject) Creates an instance of aAnalyzerPropertyComputerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactionBroadcastMaprecord component.io.codelaser.maddi.run.config.ConfigurationcomputeConfiguration(org.gradle.api.Project project, AnalyzerExtension extension) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.gradle.api.ProjectReturns the value of thetargetProjectrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
PREFIX
- See Also:
-
MADDI_CONFIGURATION
- See Also:
-
-
Constructor Details
-
AnalyzerPropertyComputer
public AnalyzerPropertyComputer(Map<String, ActionBroadcast<AnalyzerProperties>> actionBroadcastMap, org.gradle.api.Project targetProject) Creates an instance of aAnalyzerPropertyComputerrecord class.- Parameters:
actionBroadcastMap- the value for theactionBroadcastMaprecord componenttargetProject- the value for thetargetProjectrecord component
-
-
Method Details
-
computeProperties
-
computeConfiguration
public io.codelaser.maddi.run.config.Configuration computeConfiguration(org.gradle.api.Project project, AnalyzerExtension extension) -
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). -
actionBroadcastMap
Returns the value of theactionBroadcastMaprecord component.- Returns:
- the value of the
actionBroadcastMaprecord component
-
targetProject
public org.gradle.api.Project targetProject()Returns the value of thetargetProjectrecord component.- Returns:
- the value of the
targetProjectrecord component
-