public class AnnotationGeneratorExpression extends DefaultExpressionParameter
DefaultExpressionParameter.List
Constructor and Description |
---|
AnnotationGeneratorExpression() |
AnnotationGeneratorExpression(AbstractExpressionParameter other) |
AnnotationGeneratorExpression(String expression) |
Modifier and Type | Method and Description |
---|---|
String |
generateAnnotationValue(Collection<JIPipeTextAnnotation> annotations,
ExpressionVariables variableSet)
Generates an annotation value
|
boolean |
test(Collection<JIPipeTextAnnotation> annotations,
String dataString,
ExpressionVariables variables)
Evaluates the expression as boolean
|
getAdditionalUIVariables, getEvaluator, getEvaluatorInstance, setAdditionalUIVariables
equals, evaluate, evaluateToBoolean, evaluateToColor, evaluateToDouble, evaluateToDoubleList, evaluateToFloat, evaluateToInteger, evaluateToIntegerSafe, evaluateToNumber, evaluateToString, getExpression, getTextDescription, hashCode, isEmpty, setExpression, test, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTextDescriptionOf
public AnnotationGeneratorExpression()
public AnnotationGeneratorExpression(String expression)
public AnnotationGeneratorExpression(AbstractExpressionParameter other)
public String generateAnnotationValue(Collection<JIPipeTextAnnotation> annotations, ExpressionVariables variableSet)
annotations
- existing annotations for the datavariableSet
- existing variablespublic boolean test(Collection<JIPipeTextAnnotation> annotations, String dataString, ExpressionVariables variables)
annotations
- existing annotations for the datadataString
- the data as stringvariables
- existing variablesCopyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.