|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.workflow.WorkflowLoadHelper
public class WorkflowLoadHelper
Callback class that is used during loading of a workflow to read user credentials and other information.
| Nested Class Summary | |
|---|---|
static class |
WorkflowLoadHelper.UnknownKNIMEVersionLoadPolicy
How to proceed when a workflow written with a future KNIME version is loaded. |
| Field Summary | |
|---|---|
static WorkflowLoadHelper |
INSTANCE
Default (pessimistic) default load helper. |
| Constructor Summary | |
|---|---|
WorkflowLoadHelper()
Default instance. |
|
WorkflowLoadHelper(boolean isTemplate)
|
|
| Method Summary | |
|---|---|
String |
getDotKNIMEFileName()
Get the name of the *.knime file. |
WorkflowLoadHelper.UnknownKNIMEVersionLoadPolicy |
getUnknownKNIMEVersionLoadPolicy(String workflowVersionString)
Callback if an unknown version string is encountered in the KNIME workflow. |
boolean |
isTemplateFlow()
Returns true if the workflow is a template flow, i.e. |
List<Credentials> |
loadCredentials(List<Credentials> credentials)
Caller method invoked when credentials are needed during loading of a workflow. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final WorkflowLoadHelper INSTANCE
| Constructor Detail |
|---|
public WorkflowLoadHelper()
public WorkflowLoadHelper(boolean isTemplate)
isTemplate - whether this is a template loader| Method Detail |
|---|
public List<Credentials> loadCredentials(List<Credentials> credentials)
credentials - to be initialized
Credentials
(this implementation the argument)public WorkflowLoadHelper.UnknownKNIMEVersionLoadPolicy getUnknownKNIMEVersionLoadPolicy(String workflowVersionString)
workflowVersionString - The version string as in the workflow file
(possibly null or otherwise meaningless).
public boolean isTemplateFlow()
false).public String getDotKNIMEFileName()
isTemplateFlow() and "workflow.knime" for workflows.
The loader for templates in the node repository (e.g. X-Val Loop) will
overwrite this.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||