Package org.knime.core.ui.component
Class CheckForComponentUpdatesUtil
java.lang.Object
org.knime.core.ui.component.CheckForComponentUpdatesUtil
Helper to identify components that needs an update.
- Author:
- Leon Wenzler, KNIME AG, Konstanz, Germany, Martin Horn, KNIME GmbH, Konstanz, Germany
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Method Summary
Modifier and TypeMethodDescriptioncheckForComponentUpdatesAndSetUpdateStatus(org.knime.core.node.workflow.WorkflowManager hostWFM, String pluginId, List<org.knime.core.node.workflow.NodeID> candidateList, org.eclipse.core.runtime.IProgressMonitor monitor) Checks whether and which components require an update.
-
Method Details
-
checkForComponentUpdatesAndSetUpdateStatus
public static CheckForComponentUpdatesUtil.ComponentUpdatesResult checkForComponentUpdatesAndSetUpdateStatus(org.knime.core.node.workflow.WorkflowManager hostWFM, String pluginId, List<org.knime.core.node.workflow.NodeID> candidateList, org.eclipse.core.runtime.IProgressMonitor monitor) throws InterruptedException, IllegalStateException Checks whether and which components require an update. It also changes the update-status of the components (i.e.MetaNodeTemplateInformation.getUpdateStatus()).- Parameters:
hostWFM-pluginId- the unique identifier of the relevant plug-in; passed to theStatus-object encapsulated in the returnedCheckForComponentUpdatesUtil.ComponentUpdatesResultcandidateList-monitor-- Returns:
- the component update result
- Throws:
InterruptedExceptionIllegalStateException
-