
target.apidocs.com.google.api.services.toolresults.model.Outcome.html Maven / Gradle / Ivy
Outcome (Cloud Tool Results API v1beta3-rev20210809-2.0.0)
com.google.api.services.toolresults.model
Class Outcome
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.toolresults.model.Outcome
-
public final class Outcome
extends GenericJson
Interprets a result so that humans and machines can act on it.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Outcome()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Outcome
clone()
FailureDetail
getFailureDetail()
More information about a FAILURE outcome.
InconclusiveDetail
getInconclusiveDetail()
More information about an INCONCLUSIVE outcome.
SkippedDetail
getSkippedDetail()
More information about a SKIPPED outcome.
SuccessDetail
getSuccessDetail()
More information about a SUCCESS outcome.
String
getSummary()
The simplest way to interpret a result.
Outcome
set(String fieldName,
Object value)
Outcome
setFailureDetail(FailureDetail failureDetail)
More information about a FAILURE outcome.
Outcome
setInconclusiveDetail(InconclusiveDetail inconclusiveDetail)
More information about an INCONCLUSIVE outcome.
Outcome
setSkippedDetail(SkippedDetail skippedDetail)
More information about a SKIPPED outcome.
Outcome
setSuccessDetail(SuccessDetail successDetail)
More information about a SUCCESS outcome.
Outcome
setSummary(String summary)
The simplest way to interpret a result.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getFailureDetail
public FailureDetail getFailureDetail()
More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the
summary is not FAILURE. Optional
- Returns:
- value or
null
for none
-
setFailureDetail
public Outcome setFailureDetail(FailureDetail failureDetail)
More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the
summary is not FAILURE. Optional
- Parameters:
failureDetail
- failureDetail or null
for none
-
getInconclusiveDetail
public InconclusiveDetail getInconclusiveDetail()
More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set
but the summary is not INCONCLUSIVE. Optional
- Returns:
- value or
null
for none
-
setInconclusiveDetail
public Outcome setInconclusiveDetail(InconclusiveDetail inconclusiveDetail)
More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set
but the summary is not INCONCLUSIVE. Optional
- Parameters:
inconclusiveDetail
- inconclusiveDetail or null
for none
-
getSkippedDetail
public SkippedDetail getSkippedDetail()
More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the
summary is not SKIPPED. Optional
- Returns:
- value or
null
for none
-
setSkippedDetail
public Outcome setSkippedDetail(SkippedDetail skippedDetail)
More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the
summary is not SKIPPED. Optional
- Parameters:
skippedDetail
- skippedDetail or null
for none
-
getSuccessDetail
public SuccessDetail getSuccessDetail()
More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the
summary is not SUCCESS. Optional
- Returns:
- value or
null
for none
-
setSuccessDetail
public Outcome setSuccessDetail(SuccessDetail successDetail)
More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the
summary is not SUCCESS. Optional
- Parameters:
successDetail
- successDetail or null
for none
-
getSummary
public String getSummary()
The simplest way to interpret a result. Required
- Returns:
- value or
null
for none
-
setSummary
public Outcome setSummary(String summary)
The simplest way to interpret a result. Required
- Parameters:
summary
- summary or null
for none
-
set
public Outcome set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Outcome clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy