Package com.epam.reportportal.aspect
Class StepNameUtils
- java.lang.Object
-
- com.epam.reportportal.aspect.StepNameUtils
-
public class StepNameUtils extends java.lang.ObjectHelper methods to generate step names.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetStepName(Step step, org.aspectj.lang.reflect.MethodSignature signature, org.aspectj.lang.JoinPoint joinPoint)Generate step name based on a template bypassed inStepannotation.static java.lang.StringgetStepName(java.lang.String nameTemplate, TemplateConfiguration config, org.aspectj.lang.reflect.MethodSignature signature, org.aspectj.lang.JoinPoint joinPoint)Generate step name based on a template and configuration bypassed.
-
-
-
Method Detail
-
getStepName
@Nonnull public static java.lang.String getStepName(@Nonnull Step step, @Nonnull org.aspectj.lang.reflect.MethodSignature signature, @Nonnull org.aspectj.lang.JoinPoint joinPoint)Generate step name based on a template bypassed inStepannotation.- Parameters:
step- annotationsignature- signature of the method annotated withStepjoinPoint- intercepted step join point- Returns:
- step name
-
getStepName
@Nonnull public static java.lang.String getStepName(@Nonnull java.lang.String nameTemplate, @Nonnull TemplateConfiguration config, @Nonnull org.aspectj.lang.reflect.MethodSignature signature, @Nonnull org.aspectj.lang.JoinPoint joinPoint)Generate step name based on a template and configuration bypassed.- Parameters:
nameTemplate- template stringconfig- template configuration to usesignature- signature of the method related to the stepjoinPoint- intercepted step join point- Returns:
- step name
-
-