Skip to content

Commit

Permalink
Updated ConditionalExpressionEvaluator scope to package private (open…
Browse files Browse the repository at this point in the history
…search-project#1029)

Signed-off-by: Steven Bayer <[email protected]>

Co-authored-by: Steven Bayer <[email protected]>
  • Loading branch information
sbayer55 and sbayer55 authored Feb 11, 2022
1 parent c05138d commit aac15ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* {@link com.amazon.dataprepper.model.sink.Sink} and data-prepper-core objects can use to evaluate statements.
*/
@Named
public class ConditionalExpressionEvaluator implements ExpressionEvaluator<Boolean> {
class ConditionalExpressionEvaluator implements ExpressionEvaluator<Boolean> {
private final Parser<ParseTree> parser;
private final Evaluator<ParseTree, Event> evaluator;

Expand All @@ -28,6 +28,7 @@ public ConditionalExpressionEvaluator(final Parser<ParseTree> parser, final Eval
*/
@Override
public Boolean evaluate(final String statement, final Event context) throws ClassCastException {
// TODO: Implement method
throw new RuntimeException("Method not implemented");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/**
* @since 1.3
* ScriptEngine interface to abstract the parse and evaluate implementations.
* ExpressionEvaluator interface to abstract the parse and evaluate implementations.
*/
public interface ExpressionEvaluator<T> {

Expand Down

0 comments on commit aac15ad

Please sign in to comment.