public final class TestMatrix
extends com.google.api.client.json.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 Testing API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TestMatrix() |
| Modifier and Type | Method and Description |
|---|---|
TestMatrix |
clone() |
ClientInfo |
getClientInfo()
Information about the client which invoked the test.
|
EnvironmentMatrix |
getEnvironmentMatrix()
Required.
|
Integer |
getFlakyTestAttempts()
The number of times a TestExecution should be re-attempted if one or more of its test cases
fail for any reason.
|
String |
getInvalidMatrixDetails()
Output only.
|
String |
getProjectId()
The cloud project that owns the test matrix.
|
ResultStorage |
getResultStorage()
Required.
|
String |
getState()
Output only.
|
List<TestExecution> |
getTestExecutions()
Output only.
|
String |
getTestMatrixId()
Output only.
|
TestSpecification |
getTestSpecification()
Required.
|
String |
getTimestamp()
Output only.
|
TestMatrix |
set(String fieldName,
Object value) |
TestMatrix |
setClientInfo(ClientInfo clientInfo)
Information about the client which invoked the test.
|
TestMatrix |
setEnvironmentMatrix(EnvironmentMatrix environmentMatrix)
Required.
|
TestMatrix |
setFlakyTestAttempts(Integer flakyTestAttempts)
The number of times a TestExecution should be re-attempted if one or more of its test cases
fail for any reason.
|
TestMatrix |
setInvalidMatrixDetails(String invalidMatrixDetails)
Output only.
|
TestMatrix |
setProjectId(String projectId)
The cloud project that owns the test matrix.
|
TestMatrix |
setResultStorage(ResultStorage resultStorage)
Required.
|
TestMatrix |
setState(String state)
Output only.
|
TestMatrix |
setTestExecutions(List<TestExecution> testExecutions)
Output only.
|
TestMatrix |
setTestMatrixId(String testMatrixId)
Output only.
|
TestMatrix |
setTestSpecification(TestSpecification testSpecification)
Required.
|
TestMatrix |
setTimestamp(String timestamp)
Output only.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ClientInfo getClientInfo()
null for nonepublic TestMatrix setClientInfo(ClientInfo clientInfo)
clientInfo - clientInfo or null for nonepublic EnvironmentMatrix getEnvironmentMatrix()
null for nonepublic TestMatrix setEnvironmentMatrix(EnvironmentMatrix environmentMatrix)
environmentMatrix - environmentMatrix or null for nonepublic Integer getFlakyTestAttempts()
null for nonepublic TestMatrix setFlakyTestAttempts(Integer flakyTestAttempts)
flakyTestAttempts - flakyTestAttempts or null for nonepublic String getInvalidMatrixDetails()
null for nonepublic TestMatrix setInvalidMatrixDetails(String invalidMatrixDetails)
invalidMatrixDetails - invalidMatrixDetails or null for nonepublic String getProjectId()
null for nonepublic TestMatrix setProjectId(String projectId)
projectId - projectId or null for nonepublic ResultStorage getResultStorage()
null for nonepublic TestMatrix setResultStorage(ResultStorage resultStorage)
resultStorage - resultStorage or null for nonepublic String getState()
null for nonepublic TestMatrix setState(String state)
state - state or null for nonepublic List<TestExecution> getTestExecutions()
null for nonepublic TestMatrix setTestExecutions(List<TestExecution> testExecutions)
testExecutions - testExecutions or null for nonepublic String getTestMatrixId()
null for nonepublic TestMatrix setTestMatrixId(String testMatrixId)
testMatrixId - testMatrixId or null for nonepublic TestSpecification getTestSpecification()
null for nonepublic TestMatrix setTestSpecification(TestSpecification testSpecification)
testSpecification - testSpecification or null for nonepublic String getTimestamp()
null for nonepublic TestMatrix setTimestamp(String timestamp)
timestamp - timestamp or null for nonepublic TestMatrix set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TestMatrix clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.