Class Step
- java.lang.Object
-
- tech.grasshopper.pdf.pojo.cucumber.BaseEntity
-
- tech.grasshopper.pdf.pojo.cucumber.Executable
-
- tech.grasshopper.pdf.pojo.cucumber.Step
-
public class Step extends Executable
-
-
Field Summary
-
Fields inherited from class tech.grasshopper.pdf.pojo.cucumber.Executable
annotations, attachAnnotations, destinations, errorMessage, feature, location, media, output, scenario, status
-
Fields inherited from class tech.grasshopper.pdf.pojo.cucumber.BaseEntity
endTime, name, startTime
-
-
Constructor Summary
Constructors Constructor Description Step()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAfterStepHook(Hook hook)voidaddBeforeStepHook(Hook hook)voidcheckData()List<Hook>getBeforeAfterHooks()ExecutableDisplaygetDisplay()-
Methods inherited from class tech.grasshopper.pdf.pojo.cucumber.Executable
addAnnotation, addAttachAnnotation
-
Methods inherited from class tech.grasshopper.pdf.pojo.cucumber.BaseEntity
calculatedDuration, checkTimeData
-
-
-
-
Method Detail
-
addBeforeStepHook
public void addBeforeStepHook(Hook hook)
-
addAfterStepHook
public void addAfterStepHook(Hook hook)
-
getDisplay
public ExecutableDisplay getDisplay()
- Specified by:
getDisplayin classExecutable
-
checkData
public void checkData()
- Overrides:
checkDatain classBaseEntity
-
-