Record Class StableValuesPreviewExamples.StableValuesWorkflowResult
java.lang.Object
java.lang.Record
net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.StableValuesWorkflowResult
- Record Components:
sourceFile- generated source fileclassesDirectory- generated classes directorycompilation- childjavacresultexecution- childjavaresult
- Enclosing class:
StableValuesPreviewExamples
public static record StableValuesPreviewExamples.StableValuesWorkflowResult(Path sourceFile, Path classesDirectory, StableValuesPreviewExamples.CommandResult compilation, StableValuesPreviewExamples.CommandResult execution)
extends Record
Result from compiling and running the generated preview source.
-
Constructor Summary
ConstructorsConstructorDescriptionStableValuesWorkflowResult(Path sourceFile, Path classesDirectory, StableValuesPreviewExamples.CommandResult compilation, StableValuesPreviewExamples.CommandResult execution) Creates an instance of aStableValuesWorkflowResultrecord 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
-
StableValuesWorkflowResult
public StableValuesWorkflowResult(Path sourceFile, Path classesDirectory, StableValuesPreviewExamples.CommandResult compilation, StableValuesPreviewExamples.CommandResult execution) Creates an instance of aStableValuesWorkflowResultrecord 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
-