Record Class StructuredConcurrencySixthPreviewExamples.StructuredConcurrencyWorkflowResult
java.lang.Object
java.lang.Record
net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.StructuredConcurrencyWorkflowResult
- Enclosing class:
StructuredConcurrencySixthPreviewExamples
public static record StructuredConcurrencySixthPreviewExamples.StructuredConcurrencyWorkflowResult(Path sourceFile, Path classesDirectory, StructuredConcurrencySixthPreviewExamples.CommandResult compilation, StructuredConcurrencySixthPreviewExamples.CommandResult execution)
extends Record
Result from compiling and running the generated preview source.
-
Constructor Summary
ConstructorsConstructorDescriptionStructuredConcurrencyWorkflowResult(Path sourceFile, Path classesDirectory, StructuredConcurrencySixthPreviewExamples.CommandResult compilation, StructuredConcurrencySixthPreviewExamples.CommandResult execution) Creates an instance of aStructuredConcurrencyWorkflowResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassesDirectoryrecord component.Returns the value of thecompilationrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutionrecord component.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
-
StructuredConcurrencyWorkflowResult
public StructuredConcurrencyWorkflowResult(Path sourceFile, Path classesDirectory, StructuredConcurrencySixthPreviewExamples.CommandResult compilation, StructuredConcurrencySixthPreviewExamples.CommandResult execution) Creates an instance of aStructuredConcurrencyWorkflowResultrecord class.- Parameters:
sourceFile- the value for thesourceFilerecord componentclassesDirectory- the value for theclassesDirectoryrecord componentcompilation- the value for thecompilationrecord componentexecution- the value for theexecutionrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
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
-
compilation
Returns the value of thecompilationrecord component.- Returns:
- the value of the
compilationrecord component
-
execution
Returns the value of theexecutionrecord component.- Returns:
- the value of the
executionrecord component
-