Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
ExecutableAction
public
abstract
class
ExecutableAction
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.cache.ExecutableAction
|
A value class representing an action which can be executed.
Terminology note: "action" is used here in the remote execution protocol sense.
Summary
Public constructors
ExecutableAction
public ExecutableAction ()
Public methods
action
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)
Builds an ExecutableAction
.
Parameters |
input |
File |
args |
Iterable |
envVariables |
|
timeout |
long |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-02 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 |"]]