Record Class PyronautCompiler.IncrementalCompilationPlan
java.lang.Object
java.lang.Record
io.micronaut.python.compiler.PyronautCompiler.IncrementalCompilationPlan
- Record Components:
upToDate- Whether no compilation is requiredfullRebuild- Whether all current sources must be compiledsources- The current source files selected for compilation
- Enclosing class:
PyronautCompiler
-
Constructor Summary
ConstructorsConstructorDescriptionIncrementalCompilationPlan(boolean upToDate, boolean fullRebuild, List<Path> sources) Creates an instance of aIncrementalCompilationPlanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thefullRebuildrecord component.final inthashCode()Returns a hash code value for this object.sources()Returns the value of thesourcesrecord component.final StringtoString()Returns a string representation of this record class.booleanupToDate()Returns the value of theupToDaterecord component.
-
Constructor Details
-
IncrementalCompilationPlan
Creates an instance of aIncrementalCompilationPlanrecord class.- Parameters:
upToDate- the value for theupToDaterecord componentfullRebuild- the value for thefullRebuildrecord componentsources- the value for thesourcesrecord component
-
-
Method Details
-
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. -
upToDate
-
fullRebuild
public boolean fullRebuild()Returns the value of thefullRebuildrecord component.- Returns:
- the value of the
fullRebuildrecord component
-
sources
-