Package io.cucumber.messages.types
Class Hook
- java.lang.Object
-
- io.cucumber.messages.types.Hook
-
public final class Hook extends Object
Represents the Hook message in Cucumber's message protocol- See Also:
- Github - Cucumber - Messages
-
-
Constructor Summary
Constructors Constructor Description Hook(String id, String name, SourceReference sourceReference, String tagExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetId()Optional<String>getName()SourceReferencegetSourceReference()Optional<String>getTagExpression()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
Hook
public Hook(String id, String name, SourceReference sourceReference, String tagExpression)
-
-
Method Detail
-
getId
public String getId()
-
getSourceReference
public SourceReference getSourceReference()
-
-