Class StepWithDescription<SELF>
- java.lang.Object
-
- dev.aherscu.qa.jgiven.commons.utils.StepWithDescription<SELF>
-
- Type Parameters:
SELF
- the type of step
- All Implemented Interfaces:
DescriptionFormatter.HasDescription
,Function<SELF,SELF>
public class StepWithDescription<SELF> extends Object implements DescriptionFormatter.HasDescription, Function<SELF,SELF>
Wraps aFunction
with a description.- Author:
- Adrian Herscu
-
-
Constructor Summary
Constructors Constructor Description StepWithDescription(String description, Function<SELF,SELF> function)
StepWithDescription(Function<SELF,SELF> function)
-
-
-
Method Detail
-
description
public String description()
- Specified by:
description
in interfaceDescriptionFormatter.HasDescription
- Returns:
- the description text
-
-