public final class Step 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 |
|---|
Step() |
| Modifier and Type | Method and Description |
|---|---|
Step |
clone() |
Timestamp |
getCompletionTime()
The time when the step status was set to complete.
|
Timestamp |
getCreationTime()
The time when the step was created.
|
String |
getDescription()
A description of this tool For example: mvn clean package -D skipTests=true
- In response: present if set by create/update request - In create/update request: optional
|
Duration |
getDeviceUsageDuration()
How much the device resource is used to perform the test.
|
List<StepDimensionValueEntry> |
getDimensionValue()
If the execution containing this step has any dimension_definition set, then this field allows
the child to specify the values of the dimensions.
|
Boolean |
getHasImages()
Whether any of the outputs of this step are images whose thumbnails can be fetched with
ListThumbnails.
|
List<StepLabelsEntry> |
getLabels()
Arbitrary user-supplied key/value pairs that are associated with the step.
|
MultiStep |
getMultiStep()
Details when multiple steps are run with the same configuration as a group.
|
String |
getName()
A short human-readable name to display in the UI.
|
Outcome |
getOutcome()
Classification of the result, for example into SUCCESS or FAILURE
- In response: present if set by create/update request - In create/update request: optional
|
Duration |
getRunDuration()
How long it took for this step to run.
|
String |
getState()
The initial state is IN_PROGRESS.
|
String |
getStepId()
A unique identifier within a Execution for this Step.
|
TestExecutionStep |
getTestExecutionStep()
An execution of a test runner.
|
ToolExecutionStep |
getToolExecutionStep()
An execution of a tool (used for steps we don't explicitly support).
|
Step |
set(String fieldName,
Object value) |
Step |
setCompletionTime(Timestamp completionTime)
The time when the step status was set to complete.
|
Step |
setCreationTime(Timestamp creationTime)
The time when the step was created.
|
Step |
setDescription(String description)
A description of this tool For example: mvn clean package -D skipTests=true
- In response: present if set by create/update request - In create/update request: optional
|
Step |
setDeviceUsageDuration(Duration deviceUsageDuration)
How much the device resource is used to perform the test.
|
Step |
setDimensionValue(List<StepDimensionValueEntry> dimensionValue)
If the execution containing this step has any dimension_definition set, then this field allows
the child to specify the values of the dimensions.
|
Step |
setHasImages(Boolean hasImages)
Whether any of the outputs of this step are images whose thumbnails can be fetched with
ListThumbnails.
|
Step |
setLabels(List<StepLabelsEntry> labels)
Arbitrary user-supplied key/value pairs that are associated with the step.
|
Step |
setMultiStep(MultiStep multiStep)
Details when multiple steps are run with the same configuration as a group.
|
Step |
setName(String name)
A short human-readable name to display in the UI.
|
Step |
setOutcome(Outcome outcome)
Classification of the result, for example into SUCCESS or FAILURE
- In response: present if set by create/update request - In create/update request: optional
|
Step |
setRunDuration(Duration runDuration)
How long it took for this step to run.
|
Step |
setState(String state)
The initial state is IN_PROGRESS.
|
Step |
setStepId(String stepId)
A unique identifier within a Execution for this Step.
|
Step |
setTestExecutionStep(TestExecutionStep testExecutionStep)
An execution of a test runner.
|
Step |
setToolExecutionStep(ToolExecutionStep toolExecutionStep)
An execution of a tool (used for steps we don't explicitly support).
|
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 Timestamp getCompletionTime()
null for nonepublic Step setCompletionTime(Timestamp completionTime)
completionTime - completionTime or null for nonepublic Timestamp getCreationTime()
null for nonepublic Step setCreationTime(Timestamp creationTime)
creationTime - creationTime or null for nonepublic String getDescription()
null for nonepublic Step setDescription(String description)
description - description or null for nonepublic Duration getDeviceUsageDuration()
null for nonepublic Step setDeviceUsageDuration(Duration deviceUsageDuration)
deviceUsageDuration - deviceUsageDuration or null for nonepublic List<StepDimensionValueEntry> getDimensionValue()
null for nonepublic Step setDimensionValue(List<StepDimensionValueEntry> dimensionValue)
dimensionValue - dimensionValue or null for nonepublic Boolean getHasImages()
null for nonepublic Step setHasImages(Boolean hasImages)
hasImages - hasImages or null for nonepublic List<StepLabelsEntry> getLabels()
null for nonepublic Step setLabels(List<StepLabelsEntry> labels)
labels - labels or null for nonepublic MultiStep getMultiStep()
null for nonepublic Step setMultiStep(MultiStep multiStep)
multiStep - multiStep or null for nonepublic String getName()
null for nonepublic Step setName(String name)
name - name or null for nonepublic Outcome getOutcome()
null for nonepublic Step setOutcome(Outcome outcome)
outcome - outcome or null for nonepublic Duration getRunDuration()
null for nonepublic Step setRunDuration(Duration runDuration)
runDuration - runDuration or null for nonepublic String getState()
null for nonepublic Step setState(String state)
state - state or null for nonepublic String getStepId()
null for nonepublic Step setStepId(String stepId)
stepId - stepId or null for nonepublic TestExecutionStep getTestExecutionStep()
null for nonepublic Step setTestExecutionStep(TestExecutionStep testExecutionStep)
testExecutionStep - testExecutionStep or null for nonepublic ToolExecutionStep getToolExecutionStep()
null for nonepublic Step setToolExecutionStep(ToolExecutionStep toolExecutionStep)
toolExecutionStep - toolExecutionStep or null for nonepublic Step set(String fieldName, Object value)
set in class GenericJsonpublic Step clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.