Record Class PemEncodingsSecondPreviewExamples.PemWorkflowResult
java.lang.Object
java.lang.Record
net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.PemWorkflowResult
- Enclosing class:
PemEncodingsSecondPreviewExamples
public static record PemEncodingsSecondPreviewExamples.PemWorkflowResult(Path sourceFile, Path classesDirectory, PemEncodingsSecondPreviewExamples.CommandResult compilation, PemEncodingsSecondPreviewExamples.CommandResult execution)
extends Record
Result from compiling and running the generated preview source.
-
Constructor Summary
ConstructorsConstructorDescriptionPemWorkflowResult(Path sourceFile, Path classesDirectory, PemEncodingsSecondPreviewExamples.CommandResult compilation, PemEncodingsSecondPreviewExamples.CommandResult execution) Creates an instance of aPemWorkflowResultrecord 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
-
PemWorkflowResult
public PemWorkflowResult(Path sourceFile, Path classesDirectory, PemEncodingsSecondPreviewExamples.CommandResult compilation, PemEncodingsSecondPreviewExamples.CommandResult execution) Creates an instance of aPemWorkflowResultrecord 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
-