public class ConditionedInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor
| Constructor and Description |
|---|
ConditionedInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkConditions(List<GherkinStepCondition> conditions)
Check all conditions.
|
protected void |
displayMessageAtTheBeginningOfMethod(String methodName,
String field,
List<GherkinStepCondition> conditions)
Display a message at the beginning of method.
|
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorThrowableprotected void displayMessageAtTheBeginningOfMethod(String methodName, String field, List<GherkinStepCondition> conditions)
methodName - is the name of method for logsfield - is the value of parameterconditions - list of 'expected' values condition and 'actual' values (GherkinStepCondition).public boolean checkConditions(List<GherkinStepCondition> conditions)
conditions - list of 'expected' values condition and 'actual' values (GherkinStepCondition).Copyright © 2023 NoraUi. All rights reserved.