Package io.cucumber.messages.types
Class Suggestion
- java.lang.Object
-
- io.cucumber.messages.types.Suggestion
-
public final class Suggestion extends Object
Represents the Suggestion message in Cucumber's message protocolA suggested fragment of code to implement an undefined step
-
-
Constructor Summary
Constructors Constructor Description Suggestion(String id, String pickleStepId, List<Snippet> snippets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetId()A unique id for this suggestionStringgetPickleStepId()The ID of the `PickleStep` this `Suggestion` was created for.List<Snippet>getSnippets()A collection of code snippets that could implement the undefined stepinthashCode()StringtoString()
-
-
-
Method Detail
-
getId
public String getId()
A unique id for this suggestion
-
getPickleStepId
public String getPickleStepId()
The ID of the `PickleStep` this `Suggestion` was created for.
-
getSnippets
public List<Snippet> getSnippets()
A collection of code snippets that could implement the undefined step
-
-