CommandStatusHandler
public class CommandStatusHandler
extends Object
implements ICommandScheduler.IScheduledInvocationListener
java.lang.ऑब्जेक्ट | |
↳ | com.android.tradefed.service.management.CommandStatusHandler |
हैंडलर किसी आमंत्रण की स्थिति की निगरानी और अद्यतन करने में सहायता करता है।
सारांश
सार्वजनिक निर्माणकर्ता | |
---|---|
CommandStatusHandler () |
सार्वजनिक तरीके | |
---|---|
InvocationStatus.Status | getCurrentStatus () आह्वान की वर्तमान ज्ञात स्थिति लौटाता है। |
void | invocationComplete ( IInvocationContext context, devicesStates) invocationComplete ( IInvocationContext context, devicesStates) सभी |
void | invocationInitiated ( IInvocationContext context) जब कोई आह्वान शुरू किया जाता है तो कॉलबैक करें। |
सार्वजनिक निर्माणकर्ता
CommandStatusHandler
public CommandStatusHandler ()
सार्वजनिक तरीके
getCurrentStatus
public InvocationStatus.Status getCurrentStatus ()
आह्वान की वर्तमान ज्ञात स्थिति लौटाता है।
रिटर्न | |
---|---|
InvocationStatus.Status |
आह्वानपूर्ण
public void invocationComplete (IInvocationContext context,devicesStates)
सभी ITestInvocationListener.invocationEnded(long)
ईवेंट सहित संपूर्ण मंगलाचरण पूरा होने पर कॉलबैक करें।
मंगलाचरण आरंभ
public void invocationInitiated (IInvocationContext context)
जब कोई आह्वान शुरू किया जाता है तो कॉलबैक करें। किसी भी बिल्ड को लाने से पहले इसे कॉल किया जाता है।