ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Option.Importance
public
static
final
enum
Option.Importance
extends Enum<Option.Importance>
สรุป
ค่า enum
ทุกครั้ง
public static final Option.Importance ALWAYS
ตัวเลือกควรได้รับการพิจารณาว่าสำคัญเสมอ
IF_UNSET
public static final Option.Importance IF_UNSET
ระบบควรถือว่าตัวเลือกสำคัญเฉพาะในกรณีที่ไม่มีค่าเท่านั้น
เมธอดสาธารณะ
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 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 |"]]