Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
OpenObjectLoader
public
class
OpenObjectLoader
extends Object
implements
IDefaultObjectLoader
java.lang.Object
|
↳ |
com.android.tradefed.config.yaml.OpenObjectLoader
|
Loader untuk objek default yang tersedia di AOSP.
Ringkasan
Konstruktor publik
OpenObjectLoader
public OpenObjectLoader ()
Metode publik
addDefaultObjects
public void addDefaultObjects (IDefaultObjectLoader.LoaderConfiguration loadConfiguration)
Memungkinkan untuk menambahkan objek default sesuai kebutuhan.
Parameter |
loadConfiguration |
IDefaultObjectLoader.LoaderConfiguration |
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-27 UTC."],[],[],null,["# OpenObjectLoader\n================\n\n\n`\npublic\n\n\nclass\nOpenObjectLoader\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\nimplements\n\n`[IDefaultObjectLoader](../../../../../../../reference/tradefed/com/android/tradefed/config/yaml/IDefaultObjectLoader.html)`\n\n\n`\n\n|---|---------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.config.yaml.OpenObjectLoader |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nLoader for the default objects available in AOSP.\n\nSummary\n-------\n\n| ### Public constructors ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[OpenObjectLoader](../../../../../../../reference/tradefed/com/android/tradefed/config/yaml/OpenObjectLoader.html#OpenObjectLoader())`() ` |\n\n| ### Public methods ||\n|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` void` | ` `[addDefaultObjects](../../../../../../../reference/tradefed/com/android/tradefed/config/yaml/OpenObjectLoader.html#addDefaultObjects(com.android.tradefed.config.yaml.IDefaultObjectLoader.LoaderConfiguration))`(`[IDefaultObjectLoader.LoaderConfiguration](../../../../../../../reference/tradefed/com/android/tradefed/config/yaml/IDefaultObjectLoader.LoaderConfiguration.html)` loadConfiguration) ` Allows to add any default objects as necessary. |\n\nPublic constructors\n-------------------\n\n### OpenObjectLoader\n\n```\npublic OpenObjectLoader ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### addDefaultObjects\n\n```\npublic void addDefaultObjects (IDefaultObjectLoader.LoaderConfiguration loadConfiguration)\n```\n\nAllows to add any default objects as necessary.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------------------|---------------------------------------------------|\n| `loadConfiguration` | `IDefaultObjectLoader.LoaderConfiguration` \u003cbr /\u003e |"]]