Record Class PyronautBuild
java.lang.Object
java.lang.Record
io.micronaut.starter.feature.build.pyronaut.PyronautBuild
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPyronautBuild(String projectName, String version, List<String> repositories, Collection<Dependency> dependencies, boolean testResources, List<String> additionalModules, List<String> suppressions) Creates an instance of aPyronautBuildrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalModulesrecord component.Returns the value of thedependenciesrecord component.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 theprojectNamerecord component.render()Returns the value of therepositoriesrecord component.Returns the value of thesuppressionsrecord component.booleanReturns the value of thetestResourcesrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Field Details
-
TABLE_TOOL
- See Also:
-
TABLE_PYRONAUT
- See Also:
-
TABLE_DEPENDENCIES
- See Also:
-
-
Constructor Details
-
PyronautBuild
public PyronautBuild(String projectName, String version, List<String> repositories, Collection<Dependency> dependencies, boolean testResources, List<String> additionalModules, List<String> suppressions) Creates an instance of aPyronautBuildrecord class.- Parameters:
projectName- the value for theprojectNamerecord componentversion- the value for theversionrecord componentrepositories- the value for therepositoriesrecord componentdependencies- the value for thedependenciesrecord componenttestResources- the value for thetestResourcesrecord componentadditionalModules- the value for theadditionalModulesrecord componentsuppressions- the value for thesuppressionsrecord component
-
-
Method Details
-
render
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
projectName
Returns the value of theprojectNamerecord component.- Returns:
- the value of the
projectNamerecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
repositories
-
dependencies
Returns the value of thedependenciesrecord component.- Returns:
- the value of the
dependenciesrecord component
-
testResources
public boolean testResources()Returns the value of thetestResourcesrecord component.- Returns:
- the value of the
testResourcesrecord component
-
additionalModules
-
suppressions
-