Package io.cucumber.core.feature
Class FeatureWithLines
- java.lang.Object
-
- io.cucumber.core.feature.FeatureWithLines
-
- All Implemented Interfaces:
Serializable
public class FeatureWithLines extends Object implements Serializable
Identifies either a directory containing feature files, a specific feature or specific scenarios and examples (pickles) in a feature.The syntax of a a feature with lines defined as either a
FeaturePath
or aFeatureIdentifier
followed by a sequence of line numbers each preceded by a colon.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FeatureWithLines
create(URI uri, Collection<Integer> lines)
boolean
equals(Object o)
int
hashCode()
SortedSet<Integer>
lines()
static FeatureWithLines
parse(String featurePath)
static FeatureWithLines
parse(String uri, Collection<Integer> lines)
String
toString()
URI
uri()
-
-
-
Method Detail
-
parse
public static FeatureWithLines parse(String featurePath)
-
create
public static FeatureWithLines create(URI uri, Collection<Integer> lines)
-
parse
public static FeatureWithLines parse(String uri, Collection<Integer> lines)
-
uri
public URI uri()
-
-