public final class WhenExpression
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 Build 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 |
|---|
WhenExpression() |
| Modifier and Type | Method and Description |
|---|---|
WhenExpression |
clone() |
String |
getExpressionOperator()
Operator that represents an Input's relationship to the values
|
String |
getInput()
Input is the string for guard checking which can be a static input or an output from a parent
Task.
|
List<String> |
getValues()
Values is an array of strings, which is compared against the input, for guard checking.
|
WhenExpression |
set(String fieldName,
Object value) |
WhenExpression |
setExpressionOperator(String expressionOperator)
Operator that represents an Input's relationship to the values
|
WhenExpression |
setInput(String input)
Input is the string for guard checking which can be a static input or an output from a parent
Task.
|
WhenExpression |
setValues(List<String> values)
Values is an array of strings, which is compared against the input, for guard checking.
|
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 String getExpressionOperator()
null for nonepublic WhenExpression setExpressionOperator(String expressionOperator)
expressionOperator - expressionOperator or null for nonepublic String getInput()
null for nonepublic WhenExpression setInput(String input)
input - input or null for nonepublic List<String> getValues()
null for nonepublic WhenExpression setValues(List<String> values)
values - values or null for nonepublic WhenExpression set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic WhenExpression clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.