Record Class AotClassLoadingExamples.AotClassLoadingWorkflowResult
java.lang.Object
java.lang.Record
net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
- Record Components:
sourceFile- generated source fileclassesDirectory- compiled classes directoryjarFile- generated application JARconfigurationFile- generated AOT configuration filecacheFile- generated AOT cache fileconfigurationSize- size of the AOT configuration file in bytescacheSize- size of the AOT cache file in bytescompilation- result of thejavacinvocationpackaging- result of thejarinvocationconfigurationRecording- result of the-XX:AOTMode=recordruncacheCreation- result of the-XX:AOTMode=createruncachedRun- result of the-XX:AOTCacheapplication run
- Enclosing class:
AotClassLoadingExamples
public static record AotClassLoadingExamples.AotClassLoadingWorkflowResult(Path sourceFile, Path classesDirectory, Path jarFile, Path configurationFile, Path cacheFile, long configurationSize, long cacheSize, AotClassLoadingExamples.CommandResult compilation, AotClassLoadingExamples.CommandResult packaging, AotClassLoadingExamples.CommandResult configurationRecording, AotClassLoadingExamples.CommandResult cacheCreation, AotClassLoadingExamples.CommandResult cachedRun)
extends Record
Result of the complete Java 24 AOT class-loading workflow.
-
Constructor Summary
ConstructorsConstructorDescriptionAotClassLoadingWorkflowResult(Path sourceFile, Path classesDirectory, Path jarFile, Path configurationFile, Path cacheFile, long configurationSize, long cacheSize, AotClassLoadingExamples.CommandResult compilation, AotClassLoadingExamples.CommandResult packaging, AotClassLoadingExamples.CommandResult configurationRecording, AotClassLoadingExamples.CommandResult cacheCreation, AotClassLoadingExamples.CommandResult cachedRun) Creates an instance of aAotClassLoadingWorkflowResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecacheCreationrecord component.Returns the value of thecachedRunrecord component.Returns the value of thecacheFilerecord component.longReturns the value of thecacheSizerecord component.Returns the value of theclassesDirectoryrecord component.Returns the value of thecompilationrecord component.Returns the value of theconfigurationFilerecord component.Returns the value of theconfigurationRecordingrecord component.longReturns the value of theconfigurationSizerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.jarFile()Returns the value of thejarFilerecord component.Returns the value of thepackagingrecord component.Returns the value of thesourceFilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AotClassLoadingWorkflowResult
public AotClassLoadingWorkflowResult(Path sourceFile, Path classesDirectory, Path jarFile, Path configurationFile, Path cacheFile, long configurationSize, long cacheSize, AotClassLoadingExamples.CommandResult compilation, AotClassLoadingExamples.CommandResult packaging, AotClassLoadingExamples.CommandResult configurationRecording, AotClassLoadingExamples.CommandResult cacheCreation, AotClassLoadingExamples.CommandResult cachedRun) Creates an instance of aAotClassLoadingWorkflowResultrecord class.- Parameters:
sourceFile- the value for thesourceFilerecord componentclassesDirectory- the value for theclassesDirectoryrecord componentjarFile- the value for thejarFilerecord componentconfigurationFile- the value for theconfigurationFilerecord componentcacheFile- the value for thecacheFilerecord componentconfigurationSize- the value for theconfigurationSizerecord componentcacheSize- the value for thecacheSizerecord componentcompilation- the value for thecompilationrecord componentpackaging- the value for thepackagingrecord componentconfigurationRecording- the value for theconfigurationRecordingrecord componentcacheCreation- the value for thecacheCreationrecord componentcachedRun- the value for thecachedRunrecord 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
-
classesDirectory
Returns the value of theclassesDirectoryrecord component.- Returns:
- the value of the
classesDirectoryrecord component
-
jarFile
-
configurationFile
Returns the value of theconfigurationFilerecord component.- Returns:
- the value of the
configurationFilerecord component
-
cacheFile
-
configurationSize
public long configurationSize()Returns the value of theconfigurationSizerecord component.- Returns:
- the value of the
configurationSizerecord component
-
cacheSize
-
compilation
Returns the value of thecompilationrecord component.- Returns:
- the value of the
compilationrecord component
-
packaging
-
configurationRecording
Returns the value of theconfigurationRecordingrecord component.- Returns:
- the value of the
configurationRecordingrecord component
-
cacheCreation
Returns the value of thecacheCreationrecord component.- Returns:
- the value of the
cacheCreationrecord component
-
cachedRun
-