Package io.quarkus.devui.deployment.menu
Record Class WorkspaceProcessor.SavedResult
java.lang.Object
java.lang.Record
io.quarkus.devui.deployment.menu.WorkspaceProcessor.SavedResult
- Enclosing class:
- WorkspaceProcessor
-
Constructor Summary
ConstructorsConstructorDescriptionSavedResult(String path, boolean success, String errorMessage) Creates an instance of aSavedResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorMessagerecord component.final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.booleansuccess()Returns the value of thesuccessrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SavedResult
Creates an instance of aSavedResultrecord class.- Parameters:
path- the value for thepathrecord componentsuccess- the value for thesuccessrecord componenterrorMessage- the value for theerrorMessagerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
success
public boolean success()Returns the value of thesuccessrecord component.- Returns:
- the value of the
successrecord component
-
errorMessage
Returns the value of theerrorMessagerecord component.- Returns:
- the value of the
errorMessagerecord component
-