Record Class MavenCompilerPluginConfiguration
java.lang.Object
java.lang.Record
io.micronaut.projectgen.core.buildtools.maven.MavenCompilerPluginConfiguration
- Record Components:
version- versionconfigurationCombine- Configuration combine attributeincrementalCompilation- incremental compilationsource- sourcetarget- targetcompilerArgs- compiler args
@Builder
public record MavenCompilerPluginConfiguration(String version, String configurationCombine, Boolean incrementalCompilation, String source, String target, List<String> compilerArgs)
extends Record
Configuration for the Maven Compiler Plugin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompilerArgsrecord component.Returns the value of theconfigurationCombinerecord 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 theincrementalCompilationrecord component.source()Returns the value of thesourcerecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
MavenCompilerPluginConfiguration
public MavenCompilerPluginConfiguration(String version, String configurationCombine, Boolean incrementalCompilation, String source, String target, List<String> compilerArgs) Creates an instance of aMavenCompilerPluginConfigurationrecord class.- Parameters:
version- the value for theversionrecord componentconfigurationCombine- the value for theconfigurationCombinerecord componentincrementalCompilation- the value for theincrementalCompilationrecord componentsource- the value for thesourcerecord componenttarget- the value for thetargetrecord componentcompilerArgs- the value for thecompilerArgsrecord component
-
-
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). -
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
configurationCombine
Returns the value of theconfigurationCombinerecord component.- Returns:
- the value of the
configurationCombinerecord component
-
incrementalCompilation
Returns the value of theincrementalCompilationrecord component.- Returns:
- the value of the
incrementalCompilationrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
compilerArgs
Returns the value of thecompilerArgsrecord component.- Returns:
- the value of the
compilerArgsrecord component
-