Record Class AotCommandLineErgonomicsExamples.AotWorkflowResult
java.lang.Object
java.lang.Record
net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.AotWorkflowResult
- Record Components:
sourceFile- generated probe source filecacheFile- generated AOT cache filecacheSize- size of the generated AOT cache file in bytescacheCreation- child JVM result for-XX:AOTCacheOutputcacheUsage- child JVM result for-XX:AOTCache
- Enclosing class:
AotCommandLineErgonomicsExamples
public static record AotCommandLineErgonomicsExamples.AotWorkflowResult(Path sourceFile, Path cacheFile, long cacheSize, AotCommandLineErgonomicsExamples.CommandResult cacheCreation, AotCommandLineErgonomicsExamples.CommandResult cacheUsage)
extends Record
Result of the full AOT workflow.
-
Constructor Summary
ConstructorsConstructorDescriptionAotWorkflowResult(Path sourceFile, Path cacheFile, long cacheSize, AotCommandLineErgonomicsExamples.CommandResult cacheCreation, AotCommandLineErgonomicsExamples.CommandResult cacheUsage) Creates an instance of aAotWorkflowResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecacheCreationrecord component.Returns the value of thecacheFilerecord component.longReturns the value of thecacheSizerecord component.Returns the value of thecacheUsagerecord 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 thesourceFilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AotWorkflowResult
public AotWorkflowResult(Path sourceFile, Path cacheFile, long cacheSize, AotCommandLineErgonomicsExamples.CommandResult cacheCreation, AotCommandLineErgonomicsExamples.CommandResult cacheUsage) Creates an instance of aAotWorkflowResultrecord class.- Parameters:
sourceFile- the value for thesourceFilerecord componentcacheFile- the value for thecacheFilerecord componentcacheSize- the value for thecacheSizerecord componentcacheCreation- the value for thecacheCreationrecord componentcacheUsage- the value for thecacheUsagerecord 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. -
sourceFile
Returns the value of thesourceFilerecord component.- Returns:
- the value of the
sourceFilerecord component
-
cacheFile
-
cacheSize
-
cacheCreation
Returns the value of thecacheCreationrecord component.- Returns:
- the value of the
cacheCreationrecord component
-
cacheUsage
Returns the value of thecacheUsagerecord component.- Returns:
- the value of the
cacheUsagerecord component
-