public class JastValidationExpr extends java.lang.Object implements ValidationExpr<BaseDataType>
| Modifier and Type | Field and Description |
|---|---|
private RuntimeJastInterpreter |
interpreter
Interpreter for running Java AST.
|
private JavaAst |
javaAst
Java AST representing validation expression.
|
private static CentralLogger |
LOG
Logger.
|
| Constructor and Description |
|---|
JastValidationExpr(JavaAst javaAst,
java.util.List<Buffer> buffers)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
logical |
validate(BaseDataType value)
Evaluate the validation expression and return the calculated result.
|
private static final CentralLogger LOG
private final RuntimeJastInterpreter interpreter
private final JavaAst javaAst
public logical validate(BaseDataType value)
validate in interface ValidationExpr<BaseDataType>value - The new widget value to validate.null.