IModuleParameterHandler

public interface IModuleParameterHandler

com.android.tradefed.testtype.suite.params.IModuleParameterHandler


הממשק לפרמטרים של מודולים של חבילות.

סיכום

‫methods ציבוריים

default void addParameterSpecificConfig(IConfiguration moduleConfiguration)

הוספה ל-IConfiguration עם הפרמטרים הספציפיים שנדרשים.

abstract void applySetup(IConfiguration moduleConfiguration)

החלת הפרמטר על הגדרת המודול הספציפית IConfiguration.

abstract String getParameterIdentifier()

הפונקציה מחזירה את השם שבו יזוהה המודול עם הפרמטרים.

‫methods ציבוריים

addParameterSpecificConfig

public void addParameterSpecificConfig (IConfiguration moduleConfiguration)

הוספה ל-IConfiguration עם הפרמטרים הספציפיים שנדרשים. לדוגמה, הוספה או הסרה של מכיני יעדים מההגדרה.

פרמטרים
moduleConfiguration IConfiguration: IConfiguration של המודול

applySetup

public abstract void applySetup (IConfiguration moduleConfiguration)

החלת הפרמטר על הגדרת המודול הספציפית IConfiguration. לדוגמה, אלה יכולות להיות אפשרויות נוספות למכינים או לבדיקות.

פרמטרים
moduleConfiguration IConfiguration

getParameterIdentifier

public abstract String getParameterIdentifier ()

הפונקציה מחזירה את השם שבו יזוהה המודול עם הפרמטרים.

החזרות
String