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.
LocalFolderBuildProvider
public
class
LocalFolderBuildProvider
extends StubBuildProvider
Un IBuildProvider
che crea un IFolderBuildInfo
in base a un percorso locale fornito
Riepilogo
Costruttori pubblici
LocalFolderBuildProvider
public LocalFolderBuildProvider ()
Metodi pubblici
cleanUp
public void cleanUp (IBuildInfo info)
Elimina eventuali file di compilazione temporanei.
Parametri |
info |
IBuildInfo |
getBuild
public IBuildInfo getBuild ()
Recupera i dati per la build in test.
Ritorni |
IBuildInfo |
IBuildInfo per la build in test o null se non è disponibile alcuna build per i test |
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-26 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-26 UTC."],[],[],null,["# LocalFolderBuildProvider\n========================\n\n\n`\npublic\n\n\nclass\nLocalFolderBuildProvider\n`\n\n\n`\n\n\n`\n\n`\n\nextends `[StubBuildProvider](../../../../../../reference/tradefed/com/android/tradefed/build/StubBuildProvider.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|---|-----------------------------------------------------|\n| java.lang.Object |||\n| ↳ | [com.android.tradefed.build.StubBuildProvider](../../../../../../reference/tradefed/com/android/tradefed/build/StubBuildProvider.html) ||\n| | ↳ | com.android.tradefed.build.LocalFolderBuildProvider |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA [IBuildProvider](../../../../../../reference/tradefed/com/android/tradefed/build/IBuildProvider.html) that constructs a [IFolderBuildInfo](../../../../../../reference/tradefed/com/android/tradefed/build/IFolderBuildInfo.html) based on a provided local\npath\n\nSummary\n-------\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[LocalFolderBuildProvider](../../../../../../reference/tradefed/com/android/tradefed/build/LocalFolderBuildProvider.html#LocalFolderBuildProvider())`() ` |\n\n| ### Public methods ||\n|--------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` void` | ` `[cleanUp](../../../../../../reference/tradefed/com/android/tradefed/build/LocalFolderBuildProvider.html#cleanUp(com.android.tradefed.build.IBuildInfo))`(`[IBuildInfo](../../../../../../reference/tradefed/com/android/tradefed/build/IBuildInfo.html)` info) ` Clean up any temporary build files. |\n| ` `[IBuildInfo](../../../../../../reference/tradefed/com/android/tradefed/build/IBuildInfo.html) | ` `[getBuild](../../../../../../reference/tradefed/com/android/tradefed/build/LocalFolderBuildProvider.html#getBuild())`() ` Retrieve the data for build under test. |\n\nPublic constructors\n-------------------\n\n### LocalFolderBuildProvider\n\n```\npublic LocalFolderBuildProvider ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### cleanUp\n\n```\npublic void cleanUp (IBuildInfo info)\n```\n\nClean up any temporary build files.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------|---------------------|\n| `info` | `IBuildInfo` \u003cbr /\u003e |\n\n### getBuild\n\n```\npublic IBuildInfo getBuild ()\n```\n\nRetrieve the data for build under test.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [IBuildInfo](../../../../../../reference/tradefed/com/android/tradefed/build/IBuildInfo.html) | the [IBuildInfo](../../../../../../reference/tradefed/com/android/tradefed/build/IBuildInfo.html) for build under test or `null` if no build is available for testing \u003cbr /\u003e |\n\n| Throws ||\n|-----------------------------------------------------------------------------------------------------------------|---|\n| [BuildRetrievalError](../../../../../../reference/tradefed/com/android/tradefed/build/BuildRetrievalError.html) | |"]]