Class Report
- java.lang.Object
-
- com.trivago.cluecumber.engine.json.pojo.Report
-
-
Constructor Summary
Constructors Constructor Description Report()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Clone method for page collection clones.StringgetDescription()Get the feature description.List<Element>getElements()Get the associated scenarios.intgetFeatureIndex()Get the feature index.StringgetId()Get the feature id.intgetLine()Get the line number where this feature starts.StringgetName()Get the feature name.List<Tag>getTags()Get the feature tags.longgetTotalDuration()Get the total duration.StringgetUri()Get the feature URI.voidsetDescription(String description)Set the feature description.voidsetElements(List<Element> elements)Set the associated scenarios.voidsetFeatureIndex(int featureIndex)Set the feature index.voidsetId(String id)Set the feature id.voidsetLine(int line)Set the line number where this feature starts.voidsetName(String name)Set the feature name.voidsetTags(List<Tag> tags)Set the feature tags.voidsetUri(String uri)Set the feature URI.
-
-
-
Method Detail
-
getLine
public int getLine()
Get the line number where this feature starts.- Returns:
- The line number.
-
setLine
public void setLine(int line)
Set the line number where this feature starts.- Parameters:
line- The line number.
-
getElements
public List<Element> getElements()
Get the associated scenarios.- Returns:
- The
Elementlist.
-
setElements
public void setElements(List<Element> elements)
Set the associated scenarios.- Parameters:
elements- TheElementlist.
-
getName
public String getName()
Get the feature name.- Returns:
- The name.
-
setName
public void setName(String name)
Set the feature name.- Parameters:
name- The name.
-
getDescription
public String getDescription()
Get the feature description.- Returns:
- The description.
-
setDescription
public void setDescription(String description)
Set the feature description.- Parameters:
description- The description.
-
getId
public String getId()
Get the feature id.- Returns:
- The string id.
-
setId
public void setId(String id)
Set the feature id.- Parameters:
id- The string id.
-
getUri
public String getUri()
Get the feature URI.- Returns:
- The URI.
-
setUri
public void setUri(String uri)
Set the feature URI.- Parameters:
uri- The URI.
-
getFeatureIndex
public int getFeatureIndex()
Get the feature index.- Returns:
- The index.
-
setFeatureIndex
public void setFeatureIndex(int featureIndex)
Set the feature index.- Parameters:
featureIndex- The index.
-
getTotalDuration
public long getTotalDuration()
Get the total duration.- Returns:
- The duration in nanoseconds.
-
clone
public Object clone() throws CloneNotSupportedException
Clone method for page collection clones.- Overrides:
clonein classObject- Returns:
- The clone.
- Throws:
CloneNotSupportedException- Thrown if cloning is not possible.
-
-