ClusterCommand

public class ClusterCommand
extends Object

java.lang.Object
com.android.tradefed.cluster.ClusterCommand


فئة تمثل مهمة تم جلبها من TF Cluster.

ملخص

المقاولين العامة

ClusterCommand (String commandId, String taskId, String cmdLine)
ClusterCommand (String requestId, String commandId, String taskId, String cmdLine, String attemptId, ClusterCommand.RequestType requestType, Integer shardCount, Integer shardIndex)

البناء.

الأساليب العامة

static ClusterCommand fromJson (JSONObject json)
String getAttemptId ()

إرجاع معرف المحاولة.

String getCommandId ()

إرجاع معرف الأمر.

String getCommandLine ()

إرجاع سلسلة سطر الأوامر.

UniqueMultiMap <String, String> getExtraOptions ()
String getRequestId ()

إرجاع معرف الطلب.

ClusterCommand.RequestType getRequestType ()

إرجاع نوع الطلب

Integer getShardCount ()

إرجاع عدد القطع.

Integer getShardIndex ()

إرجاع فهرس القطع.

getTargetDeviceSerials ()

يُرجع قائمة بالمسلسلات الخاصة بالأجهزة المستهدفة التي سيحاول تشغيل هذا الأمر عليها.

String getTaskId ()

إرجاع معرف المهمة.

void setTargetDeviceSerials ( targetDeviceSerials) setTargetDeviceSerials ( targetDeviceSerials)

يضبط قائمة المسلسلات الخاصة بالأجهزة المستهدفة التي سيحاول تشغيل الأمر عليها.

المقاولين العامة

ClusterCommand

public ClusterCommand (String commandId, 
                String taskId, 
                String cmdLine)

حدود
commandId String

taskId String

cmdLine String

ClusterCommand

public ClusterCommand (String requestId, 
                String commandId, 
                String taskId, 
                String cmdLine, 
                String attemptId, 
                ClusterCommand.RequestType requestType, 
                Integer shardCount, 
                Integer shardIndex)

البناء.

حدود
requestId String : معرف الطلب

commandId String : معرف الأمر الذي أصدر هذه المهمة

taskId String : معرف هذه المهمة

cmdLine String : سطر الأوامر للتشغيل

attemptId String

requestType ClusterCommand.RequestType : نوع الطلب

shardCount Integer : عدد القطع

shardIndex Integer : فهرس القطع

الأساليب العامة

fromJson

public static ClusterCommand fromJson (JSONObject json)

حدود
json JSONObject

عائدات
ClusterCommand

رميات
JSONException

getAttemptId

public String getAttemptId ()

إرجاع معرف المحاولة. يتم إنشاء المحاولة بشكل عشوائي باستخدام المعرف الفريد العمومي (GUID) للتمييز بين عمليات تشغيل الأوامر المتعددة.

عائدات
String معرف المحاولة

getCommandId

public String getCommandId ()

إرجاع معرف الأمر.

عائدات
String معرف الأمر

getCommandLine

public String getCommandLine ()

إرجاع سلسلة سطر الأوامر.

عائدات
String سلسلة سطر الأوامر.

getExtraOptions

public UniqueMultiMap<String, String> getExtraOptions ()

عائدات
UniqueMultiMap <String, String> خريطة متعددة من الخيارات الإضافية للحقن

معرف الطلب

public String getRequestId ()

إرجاع معرف الطلب.

عائدات
String معرف الطلب

getRequestType

public ClusterCommand.RequestType getRequestType ()

إرجاع نوع الطلب

عائدات
ClusterCommand.RequestType نوع الطلب

getShardCount

public Integer getShardCount ()

إرجاع عدد القطع.

عائدات
Integer عدد شظايا.

getShardIndex

public Integer getShardIndex ()

إرجاع فهرس القطع.

عائدات
Integer مؤشر القشرة.

getTargetDeviceSerials

public  getTargetDeviceSerials ()

يُرجع قائمة بالمسلسلات الخاصة بالأجهزة المستهدفة التي سيحاول تشغيل هذا الأمر عليها.

عائدات
قائمة تسلسلات الأجهزة المستهدفة

getTaskId

public String getTaskId ()

إرجاع معرف المهمة.

عائدات
String معرف المهمة

setTargetDeviceSerials

public void setTargetDeviceSerials ( targetDeviceSerials)

يضبط قائمة المسلسلات الخاصة بالأجهزة المستهدفة التي سيحاول تشغيل الأمر عليها.

حدود
targetDeviceSerials : قائمة المسلسلات الجهاز لتعيين

,

ClusterCommand

public class ClusterCommand
extends Object

java.lang.Object
com.android.tradefed.cluster.ClusterCommand


فئة تمثل مهمة تم جلبها من TF Cluster.

ملخص

المقاولين العامة

ClusterCommand (String commandId, String taskId, String cmdLine)
ClusterCommand (String requestId, String commandId, String taskId, String cmdLine, String attemptId, ClusterCommand.RequestType requestType, Integer shardCount, Integer shardIndex)

البناء.

الأساليب العامة

static ClusterCommand fromJson (JSONObject json)
String getAttemptId ()

إرجاع معرف المحاولة.

String getCommandId ()

إرجاع معرف الأمر.

String getCommandLine ()

إرجاع سلسلة سطر الأوامر.

UniqueMultiMap <String, String> getExtraOptions ()
String getRequestId ()

إرجاع معرف الطلب.

ClusterCommand.RequestType getRequestType ()

إرجاع نوع الطلب

Integer getShardCount ()

إرجاع عدد القطع.

Integer getShardIndex ()

إرجاع فهرس القطع.

getTargetDeviceSerials ()

يُرجع قائمة بالمسلسلات الخاصة بالأجهزة المستهدفة التي سيحاول تشغيل هذا الأمر عليها.

String getTaskId ()

إرجاع معرف المهمة.

void setTargetDeviceSerials ( targetDeviceSerials) setTargetDeviceSerials ( targetDeviceSerials)

يضبط قائمة المسلسلات الخاصة بالأجهزة المستهدفة التي سيحاول تشغيل الأمر عليها.

المقاولين العامة

ClusterCommand

public ClusterCommand (String commandId, 
                String taskId, 
                String cmdLine)

حدود
commandId String

taskId String

cmdLine String

ClusterCommand

public ClusterCommand (String requestId, 
                String commandId, 
                String taskId, 
                String cmdLine, 
                String attemptId, 
                ClusterCommand.RequestType requestType, 
                Integer shardCount, 
                Integer shardIndex)

البناء.

حدود
requestId String : معرف الطلب

commandId String : معرف الأمر الذي أصدر هذه المهمة

taskId String : معرف هذه المهمة

cmdLine String : سطر الأوامر للتشغيل

attemptId String

requestType ClusterCommand.RequestType : نوع الطلب

shardCount Integer : عدد القطع

shardIndex Integer : فهرس القطع

الأساليب العامة

fromJson

public static ClusterCommand fromJson (JSONObject json)

حدود
json JSONObject

عائدات
ClusterCommand

رميات
JSONException

getAttemptId

public String getAttemptId ()

إرجاع معرف المحاولة. يتم إنشاء المحاولة بشكل عشوائي باستخدام المعرف الفريد العمومي (GUID) للتمييز بين عمليات تشغيل الأوامر المتعددة.

عائدات
String معرف المحاولة

getCommandId

public String getCommandId ()

إرجاع معرف الأمر.

عائدات
String معرف الأمر

getCommandLine

public String getCommandLine ()

إرجاع سلسلة سطر الأوامر.

عائدات
String سلسلة سطر الأوامر.

getExtraOptions

public UniqueMultiMap<String, String> getExtraOptions ()

عائدات
UniqueMultiMap <String, String> خريطة متعددة من الخيارات الإضافية للحقن

معرف الطلب

public String getRequestId ()

إرجاع معرف الطلب.

عائدات
String معرف الطلب

getRequestType

public ClusterCommand.RequestType getRequestType ()

إرجاع نوع الطلب

عائدات
ClusterCommand.RequestType نوع الطلب

getShardCount

public Integer getShardCount ()

إرجاع عدد القطع.

عائدات
Integer عدد شظايا.

getShardIndex

public Integer getShardIndex ()

إرجاع فهرس القطع.

عائدات
Integer مؤشر القشرة.

getTargetDeviceSerials

public  getTargetDeviceSerials ()

يُرجع قائمة بالمسلسلات الخاصة بالأجهزة المستهدفة التي سيحاول تشغيل هذا الأمر عليها.

عائدات
قائمة تسلسلات الأجهزة المستهدفة

getTaskId

public String getTaskId ()

إرجاع معرف المهمة.

عائدات
String معرف المهمة

setTargetDeviceSerials

public void setTargetDeviceSerials ( targetDeviceSerials)

يضبط قائمة المسلسلات الخاصة بالأجهزة المستهدفة التي سيحاول تشغيل الأمر عليها.

حدود
targetDeviceSerials : قائمة المسلسلات الجهاز لتعيين