Skip to content

Package: EvaluationListener

EvaluationListener

nameinstructionbranchcomplexitylinemethod
EvaluationListener()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
afterEvaluation(ELContext, String)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
beforeEvaluation(ELContext, String)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
propertyResolved(ELContext, Object, Object)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*
2: * Copyright (c) 2012, 2019 Oracle and/or its affiliates and others.
3: * All rights reserved.
4: *
5: * This program and the accompanying materials are made available under the
6: * terms of the Eclipse Public License v. 2.0, which is available at
7: * http://www.eclipse.org/legal/epl-2.0.
8: *
9: * This Source Code may also be made available under the following Secondary
10: * Licenses when the conditions for such availability set forth in the
11: * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
12: * version 2 with the GNU Classpath Exception, which is available at
13: * https://www.gnu.org/software/classpath/license.html.
14: *
15: * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
16: */
17:
18: package jakarta.el;
19:
20: /**
21: * The listener interface for receiving notification when a Jakarta Expression Language expression is evaluated.
22: *
23: * @since Jakarta Expression Language 3.0
24: */
25: public abstract class EvaluationListener {
26:
27: /**
28: * Receives notification before a Jakarta Expression Language expression is evaluated
29: *
30: * @param context The ELContext
31: * @param expression The Jakarta Expression Language expression string to be evaluated
32: */
33: public void beforeEvaluation(ELContext context, String expression) {
34: }
35:
36: /**
37: * Receives notification after a Jakarta Expression Language expression is evaluated
38: *
39: * @param context The ELContext
40: * @param expression The Jakarta Expression Language expression string to be evaluated
41: */
42: public void afterEvaluation(ELContext context, String expression) {
43: }
44:
45: /**
46: * Receives notification when the (base, property) pair is resolved
47: *
48: * @param context The ELContext
49: * @param base The base object
50: * @param property The property object
51: */
52: public void propertyResolved(ELContext context, Object base, Object property) {
53: }
54:
55: }