Od 27 marca 2025 r. zalecamy używanie android-latest-release
zamiast aosp-main
do kompilowania i wspołtworzenia AOSP. Więcej informacji znajdziesz w artykule o zmianach w AOSP.
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
ExecutableActionResult
public
abstract
class
ExecutableActionResult
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.cache.ExecutableActionResult
|
Klasa wartości reprezentująca wynik funkcji ExecutableAction
.
Podsumowanie
Konstruktory publiczne
ExecutableActionResult
public ExecutableActionResult ()
Metody publiczne
utwórz
public static ExecutableActionResult create (int exitCode,
File stdOut,
File stdErr)
Parametry |
exitCode |
int |
stdOut |
File |
stdErr |
File |
exitCode
public abstract int exitCode ()
stdErr
public abstract File stdErr ()
stdOut
public abstract File stdOut ()
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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 |"]]