Search in sources :

Example 6 with PortObjectIDSettings

use of org.knime.core.node.exec.dataexchange.PortObjectIDSettings in project knime-core by knime.

the class PortObjectInNodeModel method validateSettings.

/**
 * {@inheritDoc}
 */
@Override
protected void validateSettings(final NodeSettingsRO settings) throws InvalidSettingsException {
    PortObjectIDSettings s = new PortObjectIDSettings();
    s.setCredentialsProvider(getCredentialsProvider());
    s.loadSettings(settings);
}
Also used : PortObjectIDSettings(org.knime.core.node.exec.dataexchange.PortObjectIDSettings)

Example 7 with PortObjectIDSettings

use of org.knime.core.node.exec.dataexchange.PortObjectIDSettings in project knime-core by knime.

the class PortObjectInNodeModel method loadValidatedSettingsFrom.

/**
 * {@inheritDoc}
 */
@Override
protected void loadValidatedSettingsFrom(final NodeSettingsRO settings) throws InvalidSettingsException {
    PortObjectIDSettings s = new PortObjectIDSettings();
    s.setCredentialsProvider(getCredentialsProvider());
    s.loadSettings(settings);
    m_portObjectIDSettings = s;
}
Also used : PortObjectIDSettings(org.knime.core.node.exec.dataexchange.PortObjectIDSettings)

Aggregations

PortObjectIDSettings (org.knime.core.node.exec.dataexchange.PortObjectIDSettings)7 NodeSettings (org.knime.core.node.NodeSettings)4 File (java.io.File)3 PortObjectInNodeModel (org.knime.core.node.exec.dataexchange.in.PortObjectInNodeModel)3 NativeNodeContainer (org.knime.core.node.workflow.NativeNodeContainer)3 BufferedDataTable (org.knime.core.node.BufferedDataTable)2 InvalidSettingsException (org.knime.core.node.InvalidSettingsException)2 PortObject (org.knime.core.node.port.PortObject)2 NodeID (org.knime.core.node.workflow.NodeID)2 IOException (java.io.IOException)1 URI (java.net.URI)1 ArrayList (java.util.ArrayList)1 Collection (java.util.Collection)1 Collections (java.util.Collections)1 HashSet (java.util.HashSet)1 List (java.util.List)1 Map (java.util.Map)1 Optional (java.util.Optional)1 UUID (java.util.UUID)1 Collectors (java.util.stream.Collectors)1