Package io.quarkiverse.mcp.server
Record Class InitialCheck.CheckResult
java.lang.Object
java.lang.Record
io.quarkiverse.mcp.server.InitialCheck.CheckResult
- Record Components:
- error-
- message-
- Enclosing interface:
- InitialCheck
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionCheckResult(boolean error, String message) Creates an instance of aCheckResultrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanerror()Returns the value of theerrorrecord component.static io.smallrye.mutiny.Uni<InitialCheck.CheckResult>final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.static io.smallrye.mutiny.Uni<InitialCheck.CheckResult>successs()final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
SUCCESS
 
- 
- 
Constructor Details
- 
Method Details- 
successs
- 
error
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
errorpublic boolean error()Returns the value of theerrorrecord component.- Returns:
- the value of the errorrecord component
 
- 
messageReturns the value of themessagerecord component.- Returns:
- the value of the messagerecord component
 
 
-