A partire dal 27 marzo 2025, ti consigliamo di utilizzare android-latest-release
anziché aosp-main
per compilare e contribuire ad AOSP. Per ulteriori informazioni, vedi Modifiche ad AOSP.
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
AltDirBehavior
public
final
enum
AltDirBehavior
extends Enum<AltDirBehavior>
Un enum per definire comportamenti alternativi delle directory per vari installatori/pusher di elementi di test
Riepilogo
Valori enum |
AltDirBehavior |
FALLBACK
Le directory alternative devono essere utilizzate come alternativa per cercare gli elementi di build.
|
AltDirBehavior |
OVERRIDE
Le directory alternative devono essere utilizzate come override per cercare gli elementi della build.
|
Valori enum
RISERVA
public static final AltDirBehavior FALLBACK
Le directory alternative devono essere utilizzate come alternativa per cercare gli elementi di build. ovvero se gli elementi di compilazione non possono essere trovati nella posizione configurata regolarmente.
SOSTITUISCI
public static final AltDirBehavior OVERRIDE
Le directory alternative devono essere utilizzate come override per cercare gli elementi della build.
In altre parole, le directory alternative devono essere cercate per prime per gli elementi di build.
Metodi pubblici
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-27 UTC."],[],[],null,["# AltDirBehavior\n==============\n\n\n`\npublic\n\nfinal\n\nenum\nAltDirBehavior\n`\n\n\n`\n\n\n`\n\n`\n\nextends Enum\u003c`[AltDirBehavior](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html)`\u003e\n\n\n`\n\n`\n\n\n`\n\n|---|---|------------------------------------------------|\n| java.lang.Object |||\n| ↳ | java.lang.Enum\\\u003c[com.android.tradefed.targetprep.AltDirBehavior](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html)\\\u003e ||\n| | ↳ | com.android.tradefed.targetprep.AltDirBehavior |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nAn enum to define alternative directory behaviors for various test artifact installers/pushers\n\n\u003cbr /\u003e\n\n**See also:**\n\n- [TestAppInstallSetup](../../../../../../reference/tradefed/com/android/tradefed/targetprep/TestAppInstallSetup.html)\n- [TestFilePushSetup](../../../../../../reference/tradefed/com/android/tradefed/targetprep/TestFilePushSetup.html)\n\nSummary\n-------\n\n| ### Enum values ||\n|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|\n| [AltDirBehavior](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html) | `FALLBACK` The alternative directories should be used as a fallback to look up the build artifacts. |\n| [AltDirBehavior](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html) | `OVERRIDE` The alternative directories should be used as an override to look up the build artifacts. |\n\n| ### Public methods ||\n|------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` static `[AltDirBehavior](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html) | ` `[valueOf](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html#valueOf(java.lang.String))`(String name) ` |\n| ` static final `[AltDirBehavior[]](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html) | ` `[values](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html#values())`() ` |\n\nEnum values\n-----------\n\n### FALLBACK\n\n```\npublic static final AltDirBehavior FALLBACK\n```\n\nThe alternative directories should be used as a fallback to look up the build artifacts. That\nis, if build artifacts cannot be found at the regularly configured location.\n\n\u003cbr /\u003e\n\n### OVERRIDE\n\n```\npublic static final AltDirBehavior OVERRIDE\n```\n\nThe alternative directories should be used as an override to look up the build artifacts.\nThat is, alternative directories should be searched first for build artifacts.\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### valueOf\n\n```\npublic static AltDirBehavior 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| [AltDirBehavior](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html) | \u003cbr /\u003e |\n\n### values\n\n```\npublic static final AltDirBehavior[] values ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------------------------------------------------------------------------------------------------------------|--------|\n| [AltDirBehavior[]](../../../../../../reference/tradefed/com/android/tradefed/targetprep/AltDirBehavior.html) | \u003cbr /\u003e |"]]