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 java.util.logging.Logger |
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 java.util.logging.Logger 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
.