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.
ExecutableAction
public
abstract
class
ExecutableAction
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.cache.ExecutableAction
|
Uma classe de valor que representa uma ação que pode ser executada.
Observação sobre a terminologia: "ação" é usada aqui no sentido de protocolo de execução remota.
Resumo
Construtores públicos
ExecutableAction
public ExecutableAction ()
Métodos públicos
ação
public abstract Action action ()
actionDigest
public abstract Digest actionDigest ()
command
public abstract Command command ()
commandDigest
public abstract Digest commandDigest ()
create
public static ExecutableAction create (File input,
Iterable<String> args,
envVariables,
long timeout)
Cria uma ExecutableAction
.
Parâmetros |
input |
File |
args |
Iterable |
envVariables |
|
timeout |
long |
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,["# 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 |"]]