Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
LocalFolderBuildProvider
public
class
LocalFolderBuildProvider
extends StubBuildProvider
A IBuildProvider
that constructs a IFolderBuildInfo
based on a provided local
path
Summary
Public methods |
void
|
cleanUp(IBuildInfo info)
Clean up any temporary build files.
|
IBuildInfo
|
getBuild()
Retrieve the data for build under test.
|
Public constructors
LocalFolderBuildProvider
public LocalFolderBuildProvider ()
Public methods
cleanUp
public void cleanUp (IBuildInfo info)
Clean up any temporary build files.
Parameters |
info |
IBuildInfo |
getBuild
public IBuildInfo getBuild ()
Retrieve the data for build under test.
Returns |
IBuildInfo |
the IBuildInfo for build under test or null if no build is
available for testing |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-08-03 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 info) ` Clean up any temporary build files. |\n| ` IBuildInfo` | ` `[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\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` | 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) | |"]]