Package io.cucumber.messages.types
Class Hook
- java.lang.Object
-
- io.cucumber.messages.types.Hook
-
public class Hook extends Object
-
-
Constructor Summary
Constructors Constructor Description Hook()No args constructor for use in serializationHook(String id, SourceReference sourceReference, String tagExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetId()(Required)SourceReferencegetSourceReference()* Points to a [Source](#io.cucumber.messages.Source) identified by `uri` and a [Location](#io.cucumber.messages.Location) within that file.StringgetTagExpression()inthashCode()voidsetId(String id)(Required)voidsetSourceReference(SourceReference sourceReference)* Points to a [Source](#io.cucumber.messages.Source) identified by `uri` and a [Location](#io.cucumber.messages.Location) within that file.voidsetTagExpression(String tagExpression)StringtoString()
-
-
-
Constructor Detail
-
Hook
public Hook()
No args constructor for use in serialization
-
Hook
public Hook(String id, SourceReference sourceReference, String tagExpression)
- Parameters:
sourceReference-id-tagExpression-
-
-
Method Detail
-
getId
public String getId()
(Required)
-
setId
public void setId(String id)
(Required)
-
getSourceReference
public SourceReference getSourceReference()
* Points to a [Source](#io.cucumber.messages.Source) identified by `uri` and a [Location](#io.cucumber.messages.Location) within that file. (Required)
-
setSourceReference
public void setSourceReference(SourceReference sourceReference)
* Points to a [Source](#io.cucumber.messages.Source) identified by `uri` and a [Location](#io.cucumber.messages.Location) within that file. (Required)
-
getTagExpression
public String getTagExpression()
-
setTagExpression
public void setTagExpression(String tagExpression)
-
-