Class Feature
- java.lang.Object
-
- com.trivago.cluecumber.engine.rendering.pages.pojos.Feature
-
public class Feature extends Object
Represents a feature file.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Comparator for feature file comparison.StringgetDescription()Get the feature description.intgetIndex()Get the Cluecumber internal index for this feature.StringgetName()Get the feature name.StringgetUri()Get the Cucumber URI for this feature file.inthashCode()Get the hash code of this feature file's name and index.
-
-
-
Method Detail
-
getName
public String getName()
Get the feature name.- Returns:
- The name string.
-
getDescription
public String getDescription()
Get the feature description.- Returns:
- The description string.
-
getUri
public String getUri()
Get the Cucumber URI for this feature file.- Returns:
- The URI string.
-
getIndex
public int getIndex()
Get the Cluecumber internal index for this feature.- Returns:
- The index.
-
equals
public boolean equals(Object o)
Comparator for feature file comparison. Description is not taken into account for now.
-
-