Package org.knime.core.webui.node.util
Class NodeCleanUpCallback.Builder
java.lang.Object
org.knime.core.webui.node.util.NodeCleanUpCallback.Builder
- Enclosing class:
- NodeCleanUpCallback
-
Method Summary
Modifier and TypeMethodDescriptionbuild()cleanUpOnNodeStateChange(boolean cleanUpOnNodeStateChange) If the clean-up callback shall be called on node state change or not.deactivateOnNodeStateChange(boolean deactivateOnNodeStateChange) Determines whether to deactivate the node clean-up callback on node state change.
-
Method Details
-
cleanUpOnNodeStateChange
If the clean-up callback shall be called on node state change or not. Default isfalse.- Parameters:
cleanUpOnNodeStateChange-- Returns:
- this builder
-
deactivateOnNodeStateChange
Determines whether to deactivate the node clean-up callback on node state change. I.e. whether any subsequent node state change will still trigger the clean-up. Default istrue, i.e. it will be deactivated.- Parameters:
deactivateOnNodeStateChange-- Returns:
-
build
- Returns:
- a new
NodeCleanUpCallback-instance
-