ToolExecutionResponse class
An execution of an arbitrary tool. It could be a test runner or a tool copying artifacts or deploying code.
Constructors
-
ToolExecutionResponse({required Input<
List< commandLineArguments, required Input<String> >ToolExitCodeResponse> exitCode, required Input<List< toolLogs, required Input<FileReferenceResponse> >List< toolOutputs})ToolOutputReferenceResponse> > -
Creates a new ToolExecutionResponse.
commandLineArgumentsThe full tokenized command line including the program name (equivalent to argv in a C program). - In response: present if set by create request - In create request: optional - In update request: never setexitCodeTool execution exit code. This field will be set once the tool has exited. - In response: present if set by create/update request - In create request: optional - In update request: optional, a FAILED_PRECONDITION error will be returned if an exit_code is already set.toolLogsReferences to any plain text logs output the tool execution. This field can be set before the tool has exited in order to be able to have access to a live view of the logs while the tool is running. The maximum allowed number of tool logs per step is 1000. - In response: present if set by create/update request - In create request: optional - In update request: optional, any value provided will be appended to the existing listtoolOutputsReferences to opaque files of any format output by the tool execution. The maximum allowed number of tool outputs per step is 1000. - In response: present if set by create/update request - In create request: optional - In update request: optional, any value provided will be appended to the existing listconst -
ToolExecutionResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
commandLineArguments
→ Input<
List< String> > -
The full tokenized command line including the program name (equivalent to argv in a C program). - In response: present if set by create request - In create request: optional - In update request: never set
final
-
exitCode
→ Input<
ToolExitCodeResponse> -
Tool execution exit code. This field will be set once the tool has exited. - In response: present if set by create/update request - In create request: optional - In update request: optional, a FAILED_PRECONDITION error will be returned if an exit_code is already set.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
toolLogs
→ Input<
List< FileReferenceResponse> > -
References to any plain text logs output the tool execution. This field can be set before the tool has exited in order to be able to have access to a live view of the logs while the tool is running. The maximum allowed number of tool logs per step is 1000. - In response: present if set by create/update request - In create request: optional - In update request: optional, any value provided will be appended to the existing list
final
-
toolOutputs
→ Input<
List< ToolOutputReferenceResponse> > -
References to opaque files of any format output by the tool execution. The maximum allowed number of tool outputs per step is 1000. - In response: present if set by create/update request - In create request: optional - In update request: optional, any value provided will be appended to the existing list
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited