Class Hook


  • public class Hook
    extends Object
    • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object