Interface ResultsVisitor


public interface ResultsVisitor
Visitor that stores results data to internal storage. Creates LaunchResults from all visited data.
Since:
2.0
  • Method Details

    • visitAttachmentFile

      Attachment visitAttachmentFile(Path attachmentFile)
      Process attachment file. Returns Attachment that can be used to get attachment in the report.
      Parameters:
      attachmentFile - the attachment file to process.
      Returns:
      created Attachment.
    • visitTestResult

      void visitTestResult(TestResult result)
      Process test result.
      Parameters:
      result - the result to process.
    • visitExtra

      void visitExtra(String name, Object object)
      Visit extra block. You can access this block using LaunchResults.getExtra(String).
      Parameters:
      name - the name of block to add.
      object - the block to add.
    • error

      void error(String message, Exception e)
      Notifies about error during results parse.
      Parameters:
      message - the error message.
      e - exception. Should not be null. If no exception is present use error(String) instead.
    • error

      void error(String message)
      Notifies about error during results parse.
      Parameters:
      message - the error message.