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.
Option.Importance
public
static
final
enum
Option.Importance
extends Enum<Option.Importance>
Ringkasan
Nilai enum
SELALU
public static final Option.Importance ALWAYS
opsi harus selalu diperlakukan sebagai penting
IF_UNSET
public static final Option.Importance IF_UNSET
opsi harus diperlakukan sebagai penting hanya jika tidak memiliki nilai
JANGAN PERNAH
public static final Option.Importance NEVER
opsi tidak boleh diperlakukan sebagai penting
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,["# Option.Importance\n=================\n\n\n`\npublic\nstatic\nfinal\n\nenum\nOption.Importance\n`\n\n\n`\n\n\n`\n\n`\n\nextends Enum\u003c`[Option.Importance](../../../../../../reference/tradefed/com/android/tradefed/config/Option.Importance.html)`\u003e\n\n\n`\n\n`\n\n\n`\n\n|---|---|-----------------------------------------------|\n| java.lang.Object |||\n| ↳ | java.lang.Enum\\\u003c[com.android.tradefed.config.Option.Importance](../../../../../../reference/tradefed/com/android/tradefed/config/Option.Importance.html)\\\u003e ||\n| | ↳ | com.android.tradefed.config.Option.Importance |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Enum values ||\n|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|\n| [Option.Importance](../../../../../../reference/tradefed/com/android/tradefed/config/Option.Importance.html) | `ALWAYS` the option should always be treated as important |\n| [Option.Importance](../../../../../../reference/tradefed/com/android/tradefed/config/Option.Importance.html) | `IF_UNSET` the option should be treated as important only if it has no value |\n| [Option.Importance](../../../../../../reference/tradefed/com/android/tradefed/config/Option.Importance.html) | `NEVER` the option should never be treated as important |\n\n| ### Public methods ||\n|-------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` static `[Option.Importance](../../../../../../reference/tradefed/com/android/tradefed/config/Option.Importance.html) | ` `[valueOf](../../../../../../reference/tradefed/com/android/tradefed/config/Option.Importance.html#valueOf(java.lang.String))`(String name) ` |\n| ` static final `[Importance[]](../../../../../../reference/tradefed/com/android/tradefed/config/Option.Importance.html) | ` `[values](../../../../../../reference/tradefed/com/android/tradefed/config/Option.Importance.html#values())`() ` |\n\nEnum values\n-----------\n\n### ALWAYS\n\n```\npublic static final Option.Importance ALWAYS\n```\n\nthe option should always be treated as important\n\n\u003cbr /\u003e\n\n### IF_UNSET\n\n```\npublic static final Option.Importance IF_UNSET\n```\n\nthe option should be treated as important only if it has no value\n\n\u003cbr /\u003e\n\n### NEVER\n\n```\npublic static final Option.Importance NEVER\n```\n\nthe option should never be treated as important\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### valueOf\n\n```\npublic static Option.Importance 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| [Option.Importance](../../../../../../reference/tradefed/com/android/tradefed/config/Option.Importance.html) | \u003cbr /\u003e |\n\n### values\n\n```\npublic static final Importance[] values ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|---------------------------------------------------------------------------------------------------------|--------|\n| [Importance[]](../../../../../../reference/tradefed/com/android/tradefed/config/Option.Importance.html) | \u003cbr /\u003e |"]]