Ab dem 27. März 2025 empfehlen wir, android-latest-release
anstelle von aosp-main
zu verwenden, um AOSP zu erstellen und Beiträge dazu zu leisten. Weitere Informationen finden Sie unter Änderungen am AOSP.
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
ExecutableAction
public
abstract
class
ExecutableAction
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.cache.ExecutableAction
|
Eine Werteklasse, die eine ausführbare Aktion darstellt.
Begriffsklärung: „Aktion“ wird hier im Sinne des Remote-Ausführungsprotokolls verwendet.
Zusammenfassung
Öffentliche Konstruktoren
ExecutableAction
public ExecutableAction ()
Öffentliche Methoden
Aktion
public abstract Action action ()
actionDigest
public abstract Digest actionDigest ()
befehl
public abstract Command command ()
commandDigest
public abstract Digest commandDigest ()
create
public static ExecutableAction create (File input,
Iterable<String> args,
envVariables,
long timeout)
Erstellt einen ExecutableAction
.
Parameter |
input |
File |
args |
Iterable |
envVariables |
|
timeout |
long |
Alle Inhalte und Codebeispiele auf dieser Seite unterliegen den Lizenzen wie im Abschnitt Inhaltslizenz beschrieben. Java und OpenJDK sind Marken oder eingetragene Marken von Oracle und/oder seinen Tochtergesellschaften.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[],[],null,["# ExecutableAction\n================\n\n\n`\npublic\n\n\nabstract\nclass\nExecutableAction\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.ExecutableAction |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA value class representing an action which can be executed.\n\nTerminology note: \"action\" is used here in the remote execution protocol sense.\n\nSummary\n-------\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[ExecutableAction](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableAction.html#ExecutableAction())`() ` |\n\n| ### Public methods ||\n|---------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract Action` | ` `[action](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableAction.html#action())`() ` |\n| ` abstract Digest` | ` `[actionDigest](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableAction.html#actionDigest())`() ` |\n| ` abstract Command` | ` `[command](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableAction.html#command())`() ` |\n| ` abstract Digest` | ` `[commandDigest](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableAction.html#commandDigest())`() ` |\n| ` static `[ExecutableAction](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableAction.html) | ` `[create](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableAction.html#create(File,%20java.lang.Iterable\u003cjava.lang.String\u003e,%20\u003cany\u003e,%20long))`(File input, Iterable\u003cString\u003e args, ` envVariables, long timeout) Builds an [ExecutableAction](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableAction.html). |\n| ` abstract `[MerkleTree](../../../../../../reference/tradefed/com/android/tradefed/cache/MerkleTree.html) | ` `[input](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableAction.html#input())`() ` |\n\nPublic constructors\n-------------------\n\n### ExecutableAction\n\n```\npublic ExecutableAction ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### action\n\n```\npublic abstract Action action ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `Action` | \u003cbr /\u003e |\n\n### actionDigest\n\n```\npublic abstract Digest actionDigest ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `Digest` | \u003cbr /\u003e |\n\n### command\n\n```\npublic abstract Command command ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|-----------|--------|\n| `Command` | \u003cbr /\u003e |\n\n### commandDigest\n\n```\npublic abstract Digest commandDigest ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `Digest` | \u003cbr /\u003e |\n\n### create\n\n```\npublic static ExecutableAction create (File input, \n Iterable\u003cString\u003e args, \n envVariables, \n long timeout)\n```\n\nBuilds an [ExecutableAction](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableAction.html).\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------------|-------------------|\n| `input` | `File` \u003cbr /\u003e |\n| `args` | `Iterable` \u003cbr /\u003e |\n| `envVariables` | \u003cbr /\u003e |\n| `timeout` | `long` \u003cbr /\u003e |\n\n| Returns ||\n|-----------------------------------------------------------------------------------------------------------|--------|\n| [ExecutableAction](../../../../../../reference/tradefed/com/android/tradefed/cache/ExecutableAction.html) | \u003cbr /\u003e |\n\n### input\n\n```\npublic abstract MerkleTree input ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|-----------------------------------------------------------------------------------------------|--------|\n| [MerkleTree](../../../../../../reference/tradefed/com/android/tradefed/cache/MerkleTree.html) | \u003cbr /\u003e |"]]