ICommandScheduler.IScheduledInvocationListener
public
static
interface
ICommandScheduler.IScheduledInvocationListener
implements
ITestInvocationListener
| com.android.tradefed.command.ICommandScheduler.IScheduledInvocationListener |
פונקציית listener לאירועי הפעלה כשההפעלה מסתיימת.
סיכום
methods ציבוריים | |
|---|---|
abstract
void
|
invocationComplete(IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
קריאה חוזרת (callback) כשכל ההפעלה מסתיימת, כולל כל אירועי |
default
void
|
invocationInitiated(IInvocationContext context)
קריאה חוזרת כשמתחילה הפעלה. |
default
void
|
releaseDevices(IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
פונקציית ה-Callback שמשויכת ל- |
methods ציבוריים
invocationComplete
public abstract void invocationComplete (IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
קריאה חוזרת (callback) כשכל ההפעלה מסתיימת, כולל כל אירועי ITestInvocationListener.invocationEnded(long).
invocationInitiated
public void invocationInitiated (IInvocationContext context)
קריאה חוזרת כשמתחילה הפעלה. הפונקציה הזו מופעלת לפני שליפת גרסאות build.
releaseDevices
public void releaseDevices (IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates)
פונקציית ה-Callback שמשויכת ל-ICommandOptions.earlyDeviceRelease() כדי לשחרר את המכשירים בסיום השימוש בהם.