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