Class Hook

java.lang.Object
net.masterthought.cucumber.json.Hook
All Implemented Interfaces:
Resultsable

public class Hook extends Object implements Resultsable
  • Constructor Details

    • Hook

      public Hook()
  • Method Details

    • getResult

      public Result getResult()
      Specified by:
      getResult in interface Resultsable
    • getMatch

      public Match getMatch()
      Specified by:
      getMatch in interface Resultsable
    • getOutputs

      public Output[] getOutputs()
      Specified by:
      getOutputs in interface Resultsable
    • getEmbeddings

      public Embedding[] getEmbeddings()
    • hasContent

      public boolean hasContent()
      Checks if the hook has content meaning as it has at least attachment or result with error message.
      Returns:
      true if the hook has content otherwise false