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.
ExecutableActionResult
public
abstract
class
ExecutableActionResult
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.cache.ExecutableActionResult
|
Uma classe de valor que representa o resultado de uma ExecutableAction
.
Resumo
Construtores públicos
ExecutableActionResult
public ExecutableActionResult ()
Métodos públicos
create
public static ExecutableActionResult create (int exitCode,
File stdOut,
File stdErr)
Parâmetros |
exitCode |
int |
stdOut |
File |
stdErr |
File |
exitCode
public abstract int exitCode ()
stdErr
public abstract File stdErr ()
stdOut
public abstract File stdOut ()
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-26 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-26 UTC."],[],[],null,["# ExecutableActionResult\n======================\n\n\n`\npublic\n\n\nabstract\nclass\nExecutableActionResult\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|---------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.cache.ExecutableActionResult |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA value class representing a result of a [ExecutableAction](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableAction.html).\n\nSummary\n-------\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[ExecutableActionResult](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableActionResult.html#ExecutableActionResult())`() ` |\n\n| ### Public methods ||\n|---------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` static `[ExecutableActionResult](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableActionResult.html) | ` `[create](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableActionResult.html#create(int,%20File,%20File))`(int exitCode, File stdOut, File stdErr) ` |\n| ` abstract int` | ` `[exitCode](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableActionResult.html#exitCode())`() ` |\n| ` abstract File` | ` `[stdErr](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableActionResult.html#stdErr())`() ` |\n| ` abstract File` | ` `[stdOut](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableActionResult.html#stdOut())`() ` |\n\nPublic constructors\n-------------------\n\n### ExecutableActionResult\n\n```\npublic ExecutableActionResult ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### create\n\n```\npublic static ExecutableActionResult create (int exitCode, \n File stdOut, \n File stdErr)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|------------|---------------|\n| `exitCode` | `int` \u003cbr /\u003e |\n| `stdOut` | `File` \u003cbr /\u003e |\n| `stdErr` | `File` \u003cbr /\u003e |\n\n| Returns ||\n|-----------------------------------------------------------------------------------------------------------------------|--------|\n| [ExecutableActionResult](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableActionResult.html) | \u003cbr /\u003e |\n\n### exitCode\n\n```\npublic abstract int exitCode ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|-------|--------|\n| `int` | \u003cbr /\u003e |\n\n### stdErr\n\n```\npublic abstract File stdErr ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `File` | \u003cbr /\u003e |\n\n### stdOut\n\n```\npublic abstract File stdOut ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `File` | \u003cbr /\u003e |"]]