Package io.qameta.allure.util
Class AspectUtils
java.lang.Object
io.qameta.allure.util.AspectUtils
Utility methods used by AspectJ-based Allure integrations.
The helpers resolve step names from templates, extract method parameters, and format arguments so aspect advice can create meaningful Allure steps and parameters.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the name.static List<io.qameta.allure.model.Parameter> getParameters(org.aspectj.lang.reflect.MethodSignature signature, Object... args) Returns the parameters.getParametersMap(org.aspectj.lang.JoinPoint joinPoint) Returns the parameters map.
-
Method Details
-
getName
Returns the name.- Parameters:
nameTemplate- the name templatejoinPoint- the join point- Returns:
- the attachment or display name
-
getParametersMap
Returns the parameters map.- Parameters:
joinPoint- the join point- Returns:
- the parameters map
-
getParameters
public static List<io.qameta.allure.model.Parameter> getParameters(org.aspectj.lang.reflect.MethodSignature signature, Object... args) Returns the parameters.- Parameters:
signature- the signatureargs- the args- Returns:
- the parameters
-