ICommandScheduler.IScheduledInvocationListener

public static interface ICommandScheduler.IScheduledInvocationListener
implements ITestInvocationListener

com.android.tradefed.command.ICommandScheduler.IScheduledInvocationListener


פונקציית listener לאירועי הפעלה כשההפעלה מסתיימת.

סיכום

‫methods ציבוריים

abstract void invocationComplete(IInvocationContext context, Map<ITestDeviceFreeDeviceState> devicesStates)

קריאה חוזרת (callback) כשכל ההפעלה מסתיימת, כולל כל אירועי ITestInvocationListener.invocationEnded(long).

default void invocationInitiated(IInvocationContext context)

קריאה חוזרת כשמתחילה הפעלה.

default void releaseDevices(IInvocationContext context, Map<ITestDeviceFreeDeviceState> devicesStates)

פונקציית ה-Callback שמשויכת ל-ICommandOptions.earlyDeviceRelease() כדי לשחרר את המכשירים בסיום השימוש בהם.

‫methods ציבוריים

invocationComplete

public abstract void invocationComplete (IInvocationContext context, 
                Map<ITestDeviceFreeDeviceState> devicesStates)

קריאה חוזרת (callback) כשכל ההפעלה מסתיימת, כולל כל אירועי ITestInvocationListener.invocationEnded(long).

invocationInitiated

public void invocationInitiated (IInvocationContext context)

קריאה חוזרת כשמתחילה הפעלה. הפונקציה הזו מופעלת לפני שליפת גרסאות build.

releaseDevices

public void releaseDevices (IInvocationContext context, 
                Map<ITestDeviceFreeDeviceState> devicesStates)

פונקציית ה-Callback שמשויכת ל-ICommandOptions.earlyDeviceRelease() כדי לשחרר את המכשירים בסיום השימוש בהם.