Class Element

java.lang.Object
net.masterthought.cucumber.json.Element
All Implemented Interfaces:
Durationable

public class Element extends Object implements Durationable
  • Constructor Details

    • Element

      public Element()
  • Method Details

    • getSteps

      public Step[] getSteps()
    • getBefore

      public Hook[] getBefore()
    • getAfter

      public Hook[] getAfter()
    • getTags

      public Tag[] getTags()
    • getStatus

      public Status getStatus()
    • getBeforeStatus

      public Status getBeforeStatus()
    • getAfterStatus

      public Status getAfterStatus()
    • getStepsStatus

      public Status getStepsStatus()
    • getId

      public String getId()
    • getName

      public String getName()
    • getKeyword

      public String getKeyword()
    • getStartTime

      public LocalDateTime getStartTime()
    • getLine

      public Integer getLine()
    • getType

      public String getType()
    • getDescription

      public String getDescription()
    • isScenario

      public boolean isScenario()
    • isBackground

      public boolean isBackground()
    • getFeature

      public Feature getFeature()
    • getDuration

      public long getDuration()
      Description copied from interface: Durationable
      Returns duration for given item.
      Specified by:
      getDuration in interface Durationable
      Returns:
      duration
    • getFormattedDuration

      public String getFormattedDuration()
      Description copied from interface: Durationable
      Returns duration displayed in humanable format.
      Specified by:
      getFormattedDuration in interface Durationable
      Returns:
      formatted duration
    • setMetaData

      public void setMetaData(Feature feature, Configuration configuration)