I’m running some graphs from java.
How can I add or override the values in the graph’s parameters (workspace.prm or internal parameters)?
Is the answer to call GraphRuntimeContext.setAdditionalProperties()?
Thanks.
I’m running some graphs from java.
How can I add or override the values in the graph’s parameters (workspace.prm or internal parameters)?
Is the answer to call GraphRuntimeContext.setAdditionalProperties()?
Thanks.
Hello,
method org.jetel.graph.runtime.GraphRuntimeContext.setAdditionalProperties(Properties) clears all parameters and sets the new ones, method org.jetel.graph.runtime.GraphRuntimeContext.addAdditionalProperties(Properties) adds new parameters to the existing ones (if the name of a new parameter is the same as the existing one, it will be replaced by the new value).