Search in sources :

Example 1 with ApplyDataService

use of org.knime.core.webui.data.ApplyDataService in project knime-core by knime.

the class DataServiceManager method getApplyDataService.

private Optional<ApplyDataService> getApplyDataService(final NodeContainer nc) {
    ApplyDataService ds;
    if (!m_applyDataServices.containsKey(nc)) {
        ds = getDataServiceProvider(nc).createApplyDataService().orElse(null);
        m_applyDataServices.put(nc, ds);
    } else {
        ds = m_applyDataServices.get(nc);
    }
    return Optional.ofNullable(ds);
}
Also used : ApplyDataService(org.knime.core.webui.data.ApplyDataService) TextApplyDataService(org.knime.core.webui.data.text.TextApplyDataService)

Aggregations

ApplyDataService (org.knime.core.webui.data.ApplyDataService)1 TextApplyDataService (org.knime.core.webui.data.text.TextApplyDataService)1