Kunde

public class Client
extends Object implements IRecorderClient

java.lang.Object
   ↳ com.android.tradefed.result.resultdb.Client


ResultDB-Aufzeichnungsclient, der Testergebnisse in ResultDB hochlädt.

Zusammenfassung

Konstanten

int SERVER_PORT

Felder

public static final String SERVER_ADDRESS

Öffentliche Methoden

static IRecorderClient create(String invocationId, String updateToken)
static IRecorderClient createWithNewInvocation(CreateInvocationRequest request)
Invocation finalizeInvocation()
void finalizeTestResults()
Invocation updateInvocation(UpdateInvocationRequest request)
void uploadTestResult(TestResult result)

Konstanten

SERVER_PORT

public static final int SERVER_PORT

Konstanter Wert: 443 (0x000001bb)

Felder

SERVER_ADDRESS

public static final String SERVER_ADDRESS

Öffentliche Methoden

create

public static IRecorderClient create (String invocationId, 
                String updateToken)

Parameter
invocationId String

updateToken String

Returns
IRecorderClient

createWithNewInvocation

public static IRecorderClient createWithNewInvocation (CreateInvocationRequest request)

Parameter
request CreateInvocationRequest

Returns
IRecorderClient

finalizeInvocation

public Invocation finalizeInvocation ()

Returns
Invocation

finalizeTestResults

public void finalizeTestResults ()

updateInvocation

public Invocation updateInvocation (UpdateInvocationRequest request)

Parameter
request UpdateInvocationRequest

Returns
Invocation

uploadTestResult

public void uploadTestResult (TestResult result)

Parameter
result TestResult