ScriptActivityScriptBlock Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. ScriptActivityScriptBlock
- com.
Implements
public final class ScriptActivityScriptBlock
implements JsonSerializable<ScriptActivityScriptBlock>
Script block of scripts.
Constructor Summary
| Constructor | Description |
|---|---|
| ScriptActivityScriptBlock() |
Creates an instance of Script |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Script |
fromJson(JsonReader jsonReader)
Reads an instance of Script |
|
List<Script |
getParameters()
Get the parameters property: Array of script parameters. |
| Object |
getText()
Get the text property: The query text. |
| Object |
getType()
Get the type property: The type of the query. |
|
Script |
setParameters(List<ScriptActivityParameter> parameters)
Set the parameters property: Array of script parameters. |
|
Script |
setText(Object text)
Set the text property: The query text. |
|
Script |
setType(Object type)
Set the type property: The type of the query. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ScriptActivityScriptBlock
public ScriptActivityScriptBlock()
Creates an instance of ScriptActivityScriptBlock class.
Method Details
fromJson
public static ScriptActivityScriptBlock fromJson(JsonReader jsonReader)
Reads an instance of ScriptActivityScriptBlock from the JsonReader.
Parameters:
Returns:
Throws:
getParameters
public List<ScriptActivityParameter> getParameters()
Get the parameters property: Array of script parameters. Type: array.
Returns:
getText
public Object getText()
Get the text property: The query text. Type: string (or Expression with resultType string).
Returns:
getType
public Object getType()
Get the type property: The type of the query. Please refer to the ScriptType for valid options. Type: string (or Expression with resultType string).
Returns:
setParameters
public ScriptActivityScriptBlock setParameters(List<ScriptActivityParameter> parameters)
Set the parameters property: Array of script parameters. Type: array.
Parameters:
Returns:
setText
public ScriptActivityScriptBlock setText(Object text)
Set the text property: The query text. Type: string (or Expression with resultType string).
Parameters:
Returns:
setType
public ScriptActivityScriptBlock setType(Object type)
Set the type property: The type of the query. Please refer to the ScriptType for valid options. Type: string (or Expression with resultType string).
Parameters:
Returns: