Package org.knime.core.ui.component
Record Class CheckForComponentUpdatesUtil.ComponentUpdatesResult
java.lang.Object
java.lang.Record
org.knime.core.ui.component.CheckForComponentUpdatesUtil.ComponentUpdatesResult
- Record Components:
status- update statusupdateList- ids of components that require an update
- Enclosing class:
- CheckForComponentUpdatesUtil
-
Constructor Summary
ConstructorsConstructorDescriptionComponentUpdatesResult(org.eclipse.core.runtime.Status status, List<org.knime.core.node.workflow.NodeID> updateList) Creates an instance of aComponentUpdatesResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.eclipse.core.runtime.Statusstatus()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.List<org.knime.core.node.workflow.NodeID>Returns the value of theupdateListrecord component.
-
Constructor Details
-
ComponentUpdatesResult
public ComponentUpdatesResult(org.eclipse.core.runtime.Status status, List<org.knime.core.node.workflow.NodeID> updateList) Creates an instance of aComponentUpdatesResultrecord class.- Parameters:
status- the value for thestatusrecord componentupdateList- the value for theupdateListrecord 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). -
status
public org.eclipse.core.runtime.Status status()Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
updateList
Returns the value of theupdateListrecord component.- Returns:
- the value of the
updateListrecord component
-