public class Element extends Object implements Durationable
| Constructor and Description |
|---|
Element() |
| Modifier and Type | Method and Description |
|---|---|
Hook[] |
getAfter() |
Status |
getAfterStatus() |
Hook[] |
getBefore() |
Status |
getBeforeStatus() |
String |
getDescription() |
long |
getDuration()
Returns duration for given item.
|
Feature |
getFeature() |
String |
getFormattedDuration()
Returns duration displayed in humanable format.
|
String |
getKeyword() |
String |
getName() |
Status |
getStatus() |
Step[] |
getSteps() |
Status |
getStepsStatus() |
Tag[] |
getTags() |
String |
getType() |
boolean |
isScenario() |
void |
setMetaData(Feature feature) |
public Step[] getSteps()
public Hook[] getBefore()
public Hook[] getAfter()
public Tag[] getTags()
public Status getStatus()
public Status getBeforeStatus()
public Status getAfterStatus()
public Status getStepsStatus()
public String getName()
public String getKeyword()
public String getType()
public String getDescription()
public boolean isScenario()
public Feature getFeature()
public long getDuration()
DurationablegetDuration in interface Durationablepublic String getFormattedDuration()
DurationablegetFormattedDuration in interface Durationablepublic void setMetaData(Feature feature)
Copyright © 2018. All rights reserved.