public final class ToolExecution extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Tool Results API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ToolExecution() |
| Modifier and Type | Method and Description |
|---|---|
ToolExecution |
clone() |
List<String> |
getCommandLineArguments()
The full tokenized command line including the program name (equivalent to argv in a C program).
|
ToolExitCode |
getExitCode()
Tool execution exit code.
|
List<FileReference> |
getToolLogs()
References to any plain text logs output the tool execution.
|
List<ToolOutputReference> |
getToolOutputs()
References to opaque files of any format output by the tool execution.
|
ToolExecution |
set(String fieldName,
Object value) |
ToolExecution |
setCommandLineArguments(List<String> commandLineArguments)
The full tokenized command line including the program name (equivalent to argv in a C program).
|
ToolExecution |
setExitCode(ToolExitCode exitCode)
Tool execution exit code.
|
ToolExecution |
setToolLogs(List<FileReference> toolLogs)
References to any plain text logs output the tool execution.
|
ToolExecution |
setToolOutputs(List<ToolOutputReference> toolOutputs)
References to opaque files of any format output by the tool execution.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<String> getCommandLineArguments()
null for nonepublic ToolExecution setCommandLineArguments(List<String> commandLineArguments)
commandLineArguments - commandLineArguments or null for nonepublic ToolExitCode getExitCode()
null for nonepublic ToolExecution setExitCode(ToolExitCode exitCode)
exitCode - exitCode or null for nonepublic List<FileReference> getToolLogs()
null for nonepublic ToolExecution setToolLogs(List<FileReference> toolLogs)
toolLogs - toolLogs or null for nonepublic List<ToolOutputReference> getToolOutputs()
null for nonepublic ToolExecution setToolOutputs(List<ToolOutputReference> toolOutputs)
toolOutputs - toolOutputs or null for nonepublic ToolExecution set(String fieldName, Object value)
set in class GenericJsonpublic ToolExecution clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.