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 |
getId() |
String |
getKeyword() |
Integer |
getLine() |
String |
getName() |
LocalDateTime |
getStartTime() |
Status |
getStatus() |
Step[] |
getSteps() |
Status |
getStepsStatus() |
Tag[] |
getTags() |
String |
getType() |
boolean |
isBackground() |
boolean |
isScenario() |
void |
setMetaData(Feature feature,
Configuration configuration) |
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 getId()
public String getName()
public String getKeyword()
public LocalDateTime getStartTime()
public Integer getLine()
public String getType()
public String getDescription()
public boolean isScenario()
public boolean isBackground()
public Feature getFeature()
public long getDuration()
DurationablegetDuration in interface Durationablepublic String getFormattedDuration()
DurationablegetFormattedDuration in interface Durationablepublic void setMetaData(Feature feature, Configuration configuration)
Copyright © 2019. All rights reserved.