IHostResourceManager

public interface IHostResourceManager

com.android.tradefed.host.IHostResourceManager


Antarmuka untuk mengelola resource host.

Ringkasan

Metode publik

abstract void cleanup()

Bersihkan resource host.

abstract File getFile(String name)

Mendapatkan file lokal resource host berdasarkan ID resource.

abstract void setup()

Siapkan resource host.

Metode publik

pembersihan

public abstract void cleanup ()

Bersihkan resource host.

getFile

public abstract File getFile (String name)

Mendapatkan file lokal resource host berdasarkan ID resource.

Parameter
name String: ID resource resource host.

Hasil
File File lokal resource host.

siapkan

public abstract void setup ()

Siapkan resource host. Resource host mungkin berasal dari berbagai tempat, jarak jauh di cloud atau file lokal. Antarmuka ini menyediakan cara terpadu bagi tradefed untuk mendapatkan resource host yang diperlukan. penyiapan harus mendownload file ke lokal dengan benar, dan kemudian tradefed dapat mendapatkan lokal dengan nama resource host melalui getFile.

Menampilkan
com.android.tradefed.config.ConfigurationException
ConfigurationException