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.Flags
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.
|
java.lang.Integer |
getFlakyTestAttempts()
The number of times a TestExecution should be re-attempted if one or more of its test cases
fail for any reason.
|
java.lang.String |
getInvalidMatrixDetails()
Output only.
|
java.lang.String |
getOutcomeSummary()
Output Only.
|
java.lang.String |
getProjectId()
The cloud project that owns the test matrix.
|
ResultStorage |
getResultStorage()
Required.
|
java.lang.String |
getState()
Output only.
|
java.util.List<TestExecution> |
getTestExecutions()
Output only.
|
java.lang.String |
getTestMatrixId()
Output only.
|
TestSpecification |
getTestSpecification()
Required.
|
java.lang.String |
getTimestamp()
Output only.
|
TestMatrix |
set(java.lang.String fieldName,
java.lang.Object value) |
TestMatrix |
setClientInfo(ClientInfo clientInfo)
Information about the client which invoked the test.
|
TestMatrix |
setEnvironmentMatrix(EnvironmentMatrix environmentMatrix)
Required.
|
TestMatrix |
setFlakyTestAttempts(java.lang.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(java.lang.String invalidMatrixDetails)
Output only.
|
TestMatrix |
setOutcomeSummary(java.lang.String outcomeSummary)
Output Only.
|
TestMatrix |
setProjectId(java.lang.String projectId)
The cloud project that owns the test matrix.
|
TestMatrix |
setResultStorage(ResultStorage resultStorage)
Required.
|
TestMatrix |
setState(java.lang.String state)
Output only.
|
TestMatrix |
setTestExecutions(java.util.List<TestExecution> testExecutions)
Output only.
|
TestMatrix |
setTestMatrixId(java.lang.String testMatrixId)
Output only.
|
TestMatrix |
setTestSpecification(TestSpecification testSpecification)
Required.
|
TestMatrix |
setTimestamp(java.lang.String timestamp)
Output only.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public 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 java.lang.Integer getFlakyTestAttempts()
null
for nonepublic TestMatrix setFlakyTestAttempts(java.lang.Integer flakyTestAttempts)
flakyTestAttempts
- flakyTestAttempts or null
for nonepublic java.lang.String getInvalidMatrixDetails()
null
for nonepublic TestMatrix setInvalidMatrixDetails(java.lang.String invalidMatrixDetails)
invalidMatrixDetails
- invalidMatrixDetails or null
for nonepublic java.lang.String getOutcomeSummary()
null
for nonepublic TestMatrix setOutcomeSummary(java.lang.String outcomeSummary)
outcomeSummary
- outcomeSummary or null
for nonepublic java.lang.String getProjectId()
null
for nonepublic TestMatrix setProjectId(java.lang.String projectId)
projectId
- projectId or null
for nonepublic ResultStorage getResultStorage()
null
for nonepublic TestMatrix setResultStorage(ResultStorage resultStorage)
resultStorage
- resultStorage or null
for nonepublic java.lang.String getState()
null
for nonepublic TestMatrix setState(java.lang.String state)
state
- state or null
for nonepublic java.util.List<TestExecution> getTestExecutions()
null
for nonepublic TestMatrix setTestExecutions(java.util.List<TestExecution> testExecutions)
testExecutions
- testExecutions or null
for nonepublic java.lang.String getTestMatrixId()
null
for nonepublic TestMatrix setTestMatrixId(java.lang.String testMatrixId)
testMatrixId
- testMatrixId or null
for nonepublic TestSpecification getTestSpecification()
null
for nonepublic TestMatrix setTestSpecification(TestSpecification testSpecification)
testSpecification
- testSpecification or null
for nonepublic java.lang.String getTimestamp()
null
for nonepublic TestMatrix setTimestamp(java.lang.String timestamp)
timestamp
- timestamp or null
for nonepublic TestMatrix set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TestMatrix clone()
clone
in class com.google.api.client.json.GenericJson