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.
ExecutableAction
public
abstract
class
ExecutableAction
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.cache.ExecutableAction
|
Una classe di valori che rappresenta un'azione che può essere eseguita.
Nota sulla terminologia: il termine "azione" viene utilizzato qui nel senso del protocollo di esecuzione remota.
Riepilogo
Costruttori pubblici
ExecutableAction
public ExecutableAction ()
Metodi pubblici
azione
public abstract Action action ()
actionDigest
public abstract Digest actionDigest ()
comando
public abstract Command command ()
commandDigest
public abstract Digest commandDigest ()
crea
public static ExecutableAction create (File input,
Iterable<String> args,
envVariables,
long timeout)
Crea un ExecutableAction
.
Parametri |
input |
File |
args |
Iterable |
envVariables |
|
timeout |
long |
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,["# 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 |"]]