Class LoggingAspect
- java.lang.Object
-
- dev.aherscu.qa.jgiven.commons.utils.LoggingAspect
-
public class LoggingAspect extends Object
Logs execution of JGiven step methods.
-
-
Constructor Summary
Constructors Constructor Description LoggingAspect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
aroundStepMethod(org.aspectj.lang.ProceedingJoinPoint thisJoinPoint)
Logs step execution.void
stepMethod()
Matches the execution of any method returning SELF (a subclass ofStageBase
.
-
-
-
Method Detail
-
aroundStepMethod
public Object aroundStepMethod(org.aspectj.lang.ProceedingJoinPoint thisJoinPoint) throws Throwable
Logs step execution.- Parameters:
thisJoinPoint
- advised join point- Returns:
- forwarded from advised method
- Throws:
Throwable
- re-thrown as received advised method- See Also:
stepMethod()
-
stepMethod
public void stepMethod()
Matches the execution of any method returning SELF (a subclass ofStageBase
.
-
-