IHostOptions
public
interface
IHostOptions
com.android.tradefed.host.IHostOptions |
Host options holder interface. This interface is used to access host-wide options.
Summary
Public methods | |
---|---|
abstract
Integer
|
getConcurrentDownloadLimit()
Returns the max number of concurrent downloads allowed. |
abstract
Integer
|
getConcurrentFlasherLimit()
Returns the max number of concurrent flashing to allow. |
abstract
File
|
getDownloadCacheDir()
Returns the path used for storing downloaded artifacts. |
abstract
File
|
getFastbootTmpDir()
Returns the path that fastboot should use as temporary folder. |
abstract
|
getServiceAccountJsonKeyFiles()
Returns a Map of service account json key files. |
abstract
Boolean
|
shouldUseSsoClient()
Check if it should use the SingleSignOn client or not. |
abstract
void
|
validateOptions()
Validate that the options set on |
Public methods
getConcurrentDownloadLimit
public abstract Integer getConcurrentDownloadLimit ()
Returns the max number of concurrent downloads allowed. Used by IBuildProvider
that
downloads remote builds.
Returns | |
---|---|
Integer |
getConcurrentFlasherLimit
public abstract Integer getConcurrentFlasherLimit ()
Returns the max number of concurrent flashing to allow. Used by DeviceFlashPreparer
.
Returns | |
---|---|
Integer |
the concurrent flasher limit. |
getDownloadCacheDir
public abstract File getDownloadCacheDir ()
Returns the path used for storing downloaded artifacts.
Returns | |
---|---|
File |
getFastbootTmpDir
public abstract File getFastbootTmpDir ()
Returns the path that fastboot should use as temporary folder.
Returns | |
---|---|
File |
getServiceAccountJsonKeyFiles
public abstractgetServiceAccountJsonKeyFiles ()
Returns a Map of service account json key files.
Returns | |
---|---|
|
shouldUseSsoClient
public abstract Boolean shouldUseSsoClient ()
Check if it should use the SingleSignOn client or not.
Returns | |
---|---|
Boolean |
validateOptions
public abstract void validateOptions ()
Validate that the options set on IHostOptions
are valid.
Throws | |
---|---|
ConfigurationException |