Od 27 marca 2025 r. zalecamy używanie android-latest-release
zamiast aosp-main
do kompilowania i wspołtworzenia AOSP. Więcej informacji znajdziesz w artykule o zmianach w AOSP.
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Opcja.Ważność
public
static
final
enum
Option.Importance
extends Enum<Option.Importance>
Podsumowanie
Wartości typu wyliczeniowego |
Option.Importance |
ALWAYS
opcja powinna być zawsze traktowana jako ważna
|
Option.Importance |
IF_UNSET
opcja powinna być traktowana jako ważna tylko wtedy, gdy nie ma wartości
|
Option.Importance |
NEVER
opcja nigdy nie powinna być traktowana jako ważna.
|
Wartości typu wyliczeniowego
ZAWSZE
public static final Option.Importance ALWAYS
opcja powinna być zawsze traktowana jako ważna
IF_UNSET
public static final Option.Importance IF_UNSET
opcja powinna być traktowana jako ważna tylko wtedy, gdy nie ma wartości;
NIGDY
public static final Option.Importance NEVER
opcja nigdy nie powinna być traktowana jako ważna.
Metody publiczne
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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 |"]]