public class ExpressionVariables extends HashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ExpressionVariables() |
ExpressionVariables(ExpressionVariables other) |
Modifier and Type | Method and Description |
---|---|
void |
putAnnotations(List<JIPipeTextAnnotation> textAnnotations)
Puts annotations into the variables
|
void |
putAnnotations(Map<String,JIPipeTextAnnotation> mergedTextAnnotations)
Puts annotations into the variables
|
void |
putProjectDirectories(Path projectDir,
Map<String,Path> projectDataDirs)
Puts the project-related directories into the variables
|
void |
set(String variableName,
Object value)
Sets a variable value.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public ExpressionVariables()
public ExpressionVariables(ExpressionVariables other)
public void set(String variableName, Object value)
variableName
- The variable namevalue
- The variable value (null to remove a variable from the set).public void putAnnotations(Map<String,JIPipeTextAnnotation> mergedTextAnnotations)
mergedTextAnnotations
- the annotationspublic void putAnnotations(List<JIPipeTextAnnotation> textAnnotations)
textAnnotations
- the annotationsCopyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.