public class ResultsClient extends java.lang.Object implements MetadataApi
| Constructor and Description |
|---|
ResultsClient(java.net.URI uri) |
| Modifier and Type | Method and Description |
|---|---|
void |
onMessage(Response response) |
java.util.concurrent.Future<Response> |
sendBinary(byte[] attachment) |
java.util.concurrent.Future<Response> |
sendHeader(java.lang.String repoUrl,
java.lang.String rev,
java.lang.String branch,
java.lang.String group) |
java.util.concurrent.Future<Response> |
sendMetadata(java.lang.String path,
int location,
java.lang.String mimeType) |
java.util.concurrent.Future<Response> |
sendStackTrace(java.lang.String path,
int location,
java.lang.String stackTrace) |
java.util.concurrent.Future<Response> |
sendTestCaseResult(java.lang.String path,
int location,
Status status) |
java.util.concurrent.Future<Response> |
sendTestStepResult(java.lang.String path,
int location,
Status status) |
public ResultsClient(java.net.URI uri)
throws java.net.URISyntaxException,
java.io.IOException,
javax.websocket.DeploymentException
java.net.URISyntaxExceptionjava.io.IOExceptionjavax.websocket.DeploymentExceptionpublic java.util.concurrent.Future<Response> sendHeader(java.lang.String repoUrl, java.lang.String rev, java.lang.String branch, java.lang.String group)
sendHeader in interface MetadataApipublic java.util.concurrent.Future<Response> sendTestStepResult(java.lang.String path, int location, Status status)
sendTestStepResult in interface MetadataApipublic java.util.concurrent.Future<Response> sendTestCaseResult(java.lang.String path, int location, Status status)
sendTestCaseResult in interface MetadataApipublic java.util.concurrent.Future<Response> sendStackTrace(java.lang.String path, int location, java.lang.String stackTrace)
sendStackTrace in interface MetadataApipublic java.util.concurrent.Future<Response> sendMetadata(java.lang.String path, int location, java.lang.String mimeType)
sendMetadata in interface MetadataApipublic java.util.concurrent.Future<Response> sendBinary(byte[] attachment)
sendBinary in interface MetadataApipublic void onMessage(Response response) throws java.lang.InterruptedException
java.lang.InterruptedExceptionCopyright © 2014. All Rights Reserved.