Record Class FactoryRunTerminal
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.FactoryRunTerminal
-
Constructor Summary
ConstructorsConstructorDescriptionFactoryRunTerminal(String reason, Object failure, String error, String resultPreview) Creates an instance of aFactoryRunTerminalrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.failure()Returns the value of thefailurerecord component.final inthashCode()Returns a hash code value for this object.reason()Returns the value of thereasonrecord component.Returns the value of theresultPreviewrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FactoryRunTerminal
Creates an instance of aFactoryRunTerminalrecord class.- Parameters:
reason- the value for thereasonrecord componentfailure- the value for thefailurerecord componenterror- the value for theerrorrecord componentresultPreview- the value for theresultPreviewrecord 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). -
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
failure
Returns the value of thefailurerecord component.- Returns:
- the value of the
failurerecord component
-
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-
resultPreview
Returns the value of theresultPreviewrecord component.- Returns:
- the value of the
resultPreviewrecord component
-