public class ExecutedStepDescription
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
ExecutedStepDescription |
clone() |
java.lang.String |
getName() |
java.lang.Class<? extends java.lang.Object> |
getStepClass()
The class of the step library being executed.
|
java.lang.reflect.Method |
getTestMethod() |
java.lang.String |
getTitle()
Turns a method into a human-readable title.
|
boolean |
isAGroup() |
static ExecutedStepDescription |
of(java.lang.Class<? extends java.lang.Object> stepsClass,
java.lang.String name)
We might not have the test class provided (e.g.
|
void |
setAGroup(boolean aGroup) |
ExecutedStepDescription |
withName(java.lang.String newName) |
static ExecutedStepDescription |
withTitle(java.lang.String name) |
public ExecutedStepDescription clone()
clone
in class java.lang.Object
public java.lang.Class<? extends java.lang.Object> getStepClass()
public java.lang.String getName()
public ExecutedStepDescription withName(java.lang.String newName)
public static ExecutedStepDescription of(java.lang.Class<? extends java.lang.Object> stepsClass, java.lang.String name)
public static ExecutedStepDescription withTitle(java.lang.String name)
public boolean isAGroup()
public void setAGroup(boolean aGroup)
public java.lang.reflect.Method getTestMethod()
public java.lang.String getTitle()