public final class ShellTask
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 Google Dataflow 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 |
---|
ShellTask() |
Modifier and Type | Method and Description |
---|---|
ShellTask |
clone() |
java.lang.String |
getCommand()
The shell command to run.
|
java.lang.Integer |
getExitCode()
Exit code for the task.
|
ShellTask |
set(java.lang.String fieldName,
java.lang.Object value) |
ShellTask |
setCommand(java.lang.String command)
The shell command to run.
|
ShellTask |
setExitCode(java.lang.Integer exitCode)
Exit code for the task.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getCommand()
null
for nonepublic ShellTask setCommand(java.lang.String command)
command
- command or null
for nonepublic java.lang.Integer getExitCode()
null
for nonepublic ShellTask setExitCode(java.lang.Integer exitCode)
exitCode
- exitCode or null
for nonepublic ShellTask set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ShellTask clone()
clone
in class com.google.api.client.json.GenericJson