public interface ResultsVisitor
LaunchResults
from all visited data.Modifier and Type | Method and Description |
---|---|
void |
error(java.lang.String message)
Notifies about error during results parse.
|
void |
error(java.lang.String message,
java.lang.Exception e)
Notifies about error during results parse.
|
Attachment |
visitAttachmentFile(java.nio.file.Path attachmentFile)
Process attachment file.
|
void |
visitExtra(java.lang.String name,
java.lang.Object object)
Visit extra block.
|
void |
visitTestResult(TestResult result)
Process test result.
|
Attachment visitAttachmentFile(java.nio.file.Path attachmentFile)
Attachment
that can be
used to get attachment in the report.attachmentFile
- the attachment file to process.Attachment
.void visitTestResult(TestResult result)
result
- the result to process.void visitExtra(java.lang.String name, java.lang.Object object)
LaunchResults.getExtra(String)
.name
- the name of block to add.object
- the block to add.void error(java.lang.String message, java.lang.Exception e)
message
- the error message.e
- exception. Should not be null. If no exception
is present use error(String)
instead.void error(java.lang.String message)
message
- the error message.