Interface UpdatableNodeTripleProvider
- All Superinterfaces:
NodeTripleProvider
Node triple provider with an additional update method.
- Author:
- Martin Horn, University of Konstanz
-
Field Summary
Fields inherited from interface org.knime.core.ui.workflowcoach.data.NodeTripleProvider
LAST_UPDATE_FORMAT -
Method Summary
Modifier and TypeMethodDescriptionvoidupdate()Called when the node triple provide should update (e.g.booleanTells whether an update is required before theNodeTripleProvidercan be used.Methods inherited from interface org.knime.core.ui.workflowcoach.data.NodeTripleProvider
getDescription, getLastUpdate, getName, getNodeTriples, isEnabled
-
Method Details
-
update
Called when the node triple provide should update (e.g. download) the source the triple information is read from (e.g. a file).- Throws:
Exception- exception if something went wrong with the update
-
updateRequired
boolean updateRequired()Tells whether an update is required before theNodeTripleProvidercan be used. If it returnsfalsethisNodeTripleProviderwill not be enabled (seeNodeTripleProvider.isEnabled()).- Returns:
trueif a update is required before the node triple provider can be used
-