Package org.graylog2.bootstrap.preflight
Record Class PreflightConfig
java.lang.Object
java.lang.Record
org.graylog2.bootstrap.preflight.PreflightConfig
- Record Components:
result
-
Deprecated.
We don't need this wrapper anymore, we could directly return the results itself. This needs some FE changes
that should happen in the same PR.
-
Constructor Summary
ConstructorsConstructorDescriptionPreflightConfig
(PreflightConfigResult result) Deprecated.Creates an instance of aPreflightConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Deprecated.Indicates whether some other object is "equal to" this one.final int
hashCode()
Deprecated.Returns a hash code value for this object.result()
Deprecated.Returns the value of theresult
record component.final String
toString()
Deprecated.Returns a string representation of this record class.
-
Constructor Details
-
PreflightConfig
Deprecated.Creates an instance of aPreflightConfig
record class.- Parameters:
result
- the value for theresult
record component
-
-
Method Details
-
toString
Deprecated.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()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.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)
. -
result
Deprecated.Returns the value of theresult
record component.- Returns:
- the value of the
result
record component
-