Package io.cucumber.messages.types
Class ParameterType
- java.lang.Object
-
- io.cucumber.messages.types.ParameterType
-
public final class ParameterType extends Object
Represents the ParameterType message in Cucumber's message protocol- See Also:
- Github - Cucumber - Messages
-
-
Constructor Summary
Constructors Constructor Description ParameterType(String name, List<String> regularExpressions, Boolean preferForRegularExpressionMatch, Boolean useForSnippets, String id, SourceReference sourceReference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetId()StringgetName()The name is unique, so we don't need an id.BooleangetPreferForRegularExpressionMatch()List<String>getRegularExpressions()Optional<SourceReference>getSourceReference()BooleangetUseForSnippets()inthashCode()StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
The name is unique, so we don't need an id.
-
getPreferForRegularExpressionMatch
public Boolean getPreferForRegularExpressionMatch()
-
getUseForSnippets
public Boolean getUseForSnippets()
-
getId
public String getId()
-
getSourceReference
public Optional<SourceReference> getSourceReference()
-
-