叢集命令調度器

public class ClusterCommandScheduler
extends CommandScheduler

java.lang.Object
com.android.tradefed.command.CommandScheduler
com.android.tradefed.cluster.ClusterCommandScheduler


ICommandScheduler的支援 TFC(Tradefed Cluster)。該調度程序執行來自 TFC 命令佇列的命令並將呼叫事件上傳到 TFC 命令事件佇列。

概括

公共構造函數

ClusterCommandScheduler ()

公共方法

void shutdown ()

void shutdownHard ()

嘗試強制關閉命令調度程序。

void start ()

啟動調度程序,包括設定日誌記錄、 DeviceManager初始化等

受保護的方法

boolean dryRunCommand (ClusterCommandScheduler.InvocationEventHandler handler, String[] args)

確定給定命令是否為空運行。

void processReadyCommands ( IDeviceManager manager)

公共構造函數

叢集命令調度器

public ClusterCommandScheduler ()

公共方法

關閉

public void shutdown ()

硬關機

public void shutdownHard ()

嘗試強制關閉命令調度程序。與 shutdownHard(true) 相同。

開始

public void start ()

啟動調度程序,包括設定日誌記錄、 DeviceManager初始化等

受保護的方法

幹運行命令

protected boolean dryRunCommand (ClusterCommandScheduler.InvocationEventHandler handler, 
                String[] args)

確定給定命令是否為空運行。如果該命令是空運行,請驗證它。如果有任何設定問題,它將拋出 ConfigurationException。

參數
handler ClusterCommandScheduler.InvocationEventHandler :報告空運行驗證事件時ERROR(InvocationEventHandler/com.android.tradefed.cluster.ClusterCommandScheduler.InvocationEventHandler InvocationEventHandler)

args String :要驗證的命令。

退貨
boolean如果命令是空運行,則為 true,否則為 false。

投擲
com.android.tradefed.config.ConfigurationException
ConfigurationException

處理就緒指令

protected void processReadyCommands (IDeviceManager manager)

參數
manager IDeviceManager

,

叢集命令調度器

public class ClusterCommandScheduler
extends CommandScheduler

java.lang.Object
com.android.tradefed.command.CommandScheduler
com.android.tradefed.cluster.ClusterCommandScheduler


ICommandScheduler的支援 TFC(Tradefed Cluster)。該調度程序執行來自 TFC 命令佇列的命令並將呼叫事件上傳到 TFC 命令事件佇列。

概括

公共構造函數

ClusterCommandScheduler ()

公共方法

void shutdown ()

void shutdownHard ()

嘗試強制關閉命令調度程序。

void start ()

啟動調度程序,包括設定日誌記錄、 DeviceManager初始化等

受保護的方法

boolean dryRunCommand (ClusterCommandScheduler.InvocationEventHandler handler, String[] args)

確定給定命令是否為空運行。

void processReadyCommands ( IDeviceManager manager)

公共構造函數

叢集命令調度器

public ClusterCommandScheduler ()

公共方法

關閉

public void shutdown ()

硬關機

public void shutdownHard ()

嘗試強制關閉命令調度程序。與 shutdownHard(true) 相同。

開始

public void start ()

啟動調度程序,包括設定日誌記錄、 DeviceManager初始化等

受保護的方法

幹運行命令

protected boolean dryRunCommand (ClusterCommandScheduler.InvocationEventHandler handler, 
                String[] args)

確定給定命令是否為空運行。如果該命令是空運行,請驗證它。如果有任何設定問題,它將拋出 ConfigurationException。

參數
handler ClusterCommandScheduler.InvocationEventHandler :報告空運行驗證事件時ERROR(InvocationEventHandler/com.android.tradefed.cluster.ClusterCommandScheduler.InvocationEventHandler InvocationEventHandler)

args String :要驗證的命令。

退貨
boolean如果命令是空運行,則為 true,否則為 false。

投擲
com.android.tradefed.config.ConfigurationException
ConfigurationException

處理就緒指令

protected void processReadyCommands (IDeviceManager manager)

參數
manager IDeviceManager