ICommandScheduler.IScheduledInvocationListener
public
static
interface
ICommandScheduler.IScheduledInvocationListener
implements
ITestInvocationListener
| com.android.tradefed.command.ICommandScheduler.IScheduledInvocationListener |
Listener für Aufrufereignisse, wenn der Aufruf abgeschlossen ist.
Weitere Informationen
Zusammenfassung
Öffentliche Methoden | |
|---|---|
abstract
void
|
invocationComplete(IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
Callback, wenn der gesamte Aufruf abgeschlossen ist, einschließlich aller |
default
void
|
invocationInitiated(IInvocationContext context)
Callback, wenn ein Aufruf initiiert wird. |
default
void
|
releaseDevices(IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
Rückruf, der mit |
Öffentliche Methoden
invocationComplete
public abstract void invocationComplete (IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
Callback, wenn der gesamte Aufruf abgeschlossen ist, einschließlich aller ITestInvocationListener.invocationEnded(long)-Ereignisse.
invocationInitiated
public void invocationInitiated (IInvocationContext context)
Callback, wenn ein Aufruf initiiert wird. Diese Methode wird aufgerufen, bevor Builds abgerufen werden.
releaseDevices
public void releaseDevices (IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
Rückruf, der mit ICommandOptions.earlyDeviceRelease() verknüpft ist, um die Geräte freizugeben, wenn sie nicht mehr benötigt werden.