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.
AltDirBehavior
public
final
enum
AltDirBehavior
extends Enum<AltDirBehavior>
Enum untuk menentukan perilaku direktori alternatif bagi berbagai penginstal/pengirim artefak pengujian
Ringkasan
Nilai enum |
AltDirBehavior |
FALLBACK
Direktori alternatif harus digunakan sebagai pengganti untuk mencari artefak build.
|
AltDirBehavior |
OVERRIDE
Direktori alternatif harus digunakan sebagai pengganti untuk mencari artefak build.
|
Nilai enum
PENGGANTI
public static final AltDirBehavior FALLBACK
Direktori alternatif harus digunakan sebagai pengganti untuk mencari artefak build. Artinya, jika artefak build tidak dapat ditemukan di lokasi yang dikonfigurasi secara rutin.
GANTI
public static final AltDirBehavior OVERRIDE
Direktori alternatif harus digunakan sebagai pengganti untuk mencari artefak build.
Artinya, direktori alternatif harus ditelusuri terlebih dahulu untuk artefak build.
Metode publik
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,["# AltDirBehavior\n==============\n\n\n`\npublic\n\nfinal\n\nenum\nAltDirBehavior\n`\n\n\n`\n\n\n`\n\n`\n\nextends Enum\u003c`[AltDirBehavior](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html)`\u003e\n\n\n`\n\n`\n\n\n`\n\n|---|---|------------------------------------------------|\n| java.lang.Object |||\n| ↳ | java.lang.Enum\\\u003c[com.android.tradefed.targetprep.AltDirBehavior](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html)\\\u003e ||\n| | ↳ | com.android.tradefed.targetprep.AltDirBehavior |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nAn enum to define alternative directory behaviors for various test artifact installers/pushers\n\n\u003cbr /\u003e\n\n**See also:**\n\n- [TestAppInstallSetup](../../../../../../reference/tradefed/com/android/tradefed/targetprep/TestAppInstallSetup.html)\n- [TestFilePushSetup](../../../../../../reference/tradefed/com/android/tradefed/targetprep/TestFilePushSetup.html)\n\nSummary\n-------\n\n| ### Enum values ||\n|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|\n| [AltDirBehavior](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html) | `FALLBACK` The alternative directories should be used as a fallback to look up the build artifacts. |\n| [AltDirBehavior](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html) | `OVERRIDE` The alternative directories should be used as an override to look up the build artifacts. |\n\n| ### Public methods ||\n|------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` static `[AltDirBehavior](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html) | ` `[valueOf](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html#valueOf(java.lang.String))`(String name) ` |\n| ` static final `[AltDirBehavior[]](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html) | ` `[values](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html#values())`() ` |\n\nEnum values\n-----------\n\n### FALLBACK\n\n```\npublic static final AltDirBehavior FALLBACK\n```\n\nThe alternative directories should be used as a fallback to look up the build artifacts. That\nis, if build artifacts cannot be found at the regularly configured location.\n\n\u003cbr /\u003e\n\n### OVERRIDE\n\n```\npublic static final AltDirBehavior OVERRIDE\n```\n\nThe alternative directories should be used as an override to look up the build artifacts.\nThat is, alternative directories should be searched first for build artifacts.\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### valueOf\n\n```\npublic static AltDirBehavior valueOf (String name)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------|-----------------|\n| `name` | `String` \u003cbr /\u003e |\n\n| Returns ||\n|------------------------------------------------------------------------------------------------------------|--------|\n| [AltDirBehavior](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html) | \u003cbr /\u003e |\n\n### values\n\n```\npublic static final AltDirBehavior[] values ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------------------------------------------------------------------------------------------------------------|--------|\n| [AltDirBehavior[]](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html) | \u003cbr /\u003e |"]]