Opção.Importância
public static final enum Option.Importance
extends Enum< Option.Importance >
java.lang.Object | ||
↳ | java.lang.Enum< com.android.tradefed.config.Option.Importance > | |
↳ | com.android.tradefed.config.Option.Importance |
Resumo
Valores de enumeração | |
---|---|
Option.Importance | ALWAYS a opção deve sempre ser tratada como importante |
Option.Importance | IF_UNSET a opção deve ser tratada como importante apenas se não tiver valor |
Option.Importance | NEVER a opção nunca deve ser tratada como importante |
Métodos públicos | |
---|---|
static Option.Importance | valueOf (String name) |
static final Importance[] | values () |
Valores de enumeração
IF_UNSET
public static final Option.Importance IF_UNSET
a opção deve ser tratada como importante apenas se não tiver valor
Métodos públicos
valor de
public static Option.Importance valueOf (String name)
Parâmetros | |
---|---|
name | String |
Devoluções | |
---|---|
Option.Importance |
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 2023-12-01 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 2023-12-01 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 |"]]