public class JIPipeExpressionVariablesMap extends HashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JIPipeExpressionVariablesMap() |
JIPipeExpressionVariablesMap(JIPipeExpressionVariablesMap other) |
Modifier and Type | Method and Description |
---|---|
JIPipeExpressionVariablesMap |
putAnnotations(List<JIPipeTextAnnotation> textAnnotations)
Puts annotations into the variables
|
JIPipeExpressionVariablesMap |
putAnnotations(Map<String,JIPipeTextAnnotation> mergedTextAnnotations)
Puts annotations into the variables
|
JIPipeExpressionVariablesMap |
putCustomVariables(JIPipeCustomExpressionVariablesParameter customExpressionVariablesParameter)
Puts custom expression parameters (with default settings)
|
JIPipeExpressionVariablesMap |
putProjectDirectories(Path projectDir,
Map<String,Path> projectDataDirs)
Puts the project-related directories into the variables
|
JIPipeExpressionVariablesMap |
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 JIPipeExpressionVariablesMap()
public JIPipeExpressionVariablesMap(JIPipeExpressionVariablesMap other)
public JIPipeExpressionVariablesMap set(String variableName, Object value)
variableName
- The variable namevalue
- The variable value (null to remove a variable from the set).public JIPipeExpressionVariablesMap putAnnotations(Map<String,JIPipeTextAnnotation> mergedTextAnnotations)
mergedTextAnnotations
- the annotationspublic JIPipeExpressionVariablesMap putAnnotations(List<JIPipeTextAnnotation> textAnnotations)
textAnnotations
- the annotationspublic JIPipeExpressionVariablesMap putProjectDirectories(Path projectDir, Map<String,Path> projectDataDirs)
projectDir
- the project dirprojectDataDirs
- project data dirspublic JIPipeExpressionVariablesMap putCustomVariables(JIPipeCustomExpressionVariablesParameter customExpressionVariablesParameter)
customExpressionVariablesParameter
- the parameterCopyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.