A partir de 27 de março de 2025, recomendamos usar android-latest-release
em vez de aosp-main
para criar e contribuir com o AOSP. Para mais informações, consulte Mudanças no AOSP.
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Option.Importance
public
static
final
enum
Option.Importance
extends Enum<Option.Importance>
Resumo
Valores de enumeração
SEMPRE
public static final Option.Importance ALWAYS
a opção sempre precisa ser tratada como importante
IF_UNSET
public static final Option.Importance IF_UNSET
a opção só será tratada como importante se não tiver valor
NUNCA
public static final Option.Importance NEVER
a opção nunca deve ser tratada como importante
Métodos públicos
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2025-07-27 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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 |"]]