Record Class CompatibilityResult
java.lang.Object
java.lang.Record
org.graylog.plugins.views.storage.migration.state.actions.CompatibilityResult
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionCompatibilityResult(String hostname, String opensearchVersion, org.graylog.plugins.views.storage.migration.state.actions.CompatibilityResult.IndexerDirectoryInformation info, List<String> compatibilityErrors) Creates an instance of aCompatibilityResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompatibilityErrorsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.hostname()Returns the value of thehostnamerecord component.org.graylog.plugins.views.storage.migration.state.actions.CompatibilityResult.IndexerDirectoryInformationinfo()Returns the value of theinforecord component.Returns the value of theopensearchVersionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompatibilityResult
public CompatibilityResult(String hostname, String opensearchVersion, org.graylog.plugins.views.storage.migration.state.actions.CompatibilityResult.IndexerDirectoryInformation info, List<String> compatibilityErrors) Creates an instance of aCompatibilityResultrecord class.- Parameters:
hostname- the value for thehostnamerecord componentopensearchVersion- the value for theopensearchVersionrecord componentinfo- the value for theinforecord componentcompatibilityErrors- the value for thecompatibilityErrorsrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
hostname
Returns the value of thehostnamerecord component.- Returns:
- the value of the
hostnamerecord component
-
opensearchVersion
Returns the value of theopensearchVersionrecord component.- Returns:
- the value of the
opensearchVersionrecord component
-
info
public org.graylog.plugins.views.storage.migration.state.actions.CompatibilityResult.IndexerDirectoryInformation info()Returns the value of theinforecord component.- Returns:
- the value of the
inforecord component
-
compatibilityErrors
Returns the value of thecompatibilityErrorsrecord component.- Returns:
- the value of the
compatibilityErrorsrecord component
-