Class ScriptActivity
java.lang.Object
com.azure.analytics.synapse.artifacts.models.Activity
com.azure.analytics.synapse.artifacts.models.ExecutionActivity
com.azure.analytics.synapse.artifacts.models.ScriptActivity
Script activity type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the logSettings property: Log settings of script activity.Get the scripts property: Array of script blocks.setDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.setDescription
(String description) Set the description property: Activity description.setLinkedServiceName
(LinkedServiceReference linkedServiceName) Set the linkedServiceName property: Linked service reference.setLogSettings
(ScriptActivityTypePropertiesLogSettings logSettings) Set the logSettings property: Log settings of script activity.Set the name property: Activity name.setPolicy
(ActivityPolicy policy) Set the policy property: Activity policy.setScripts
(List<ScriptActivityScriptBlock> scripts) Set the scripts property: Array of script blocks.setUserProperties
(List<UserProperty> userProperties) Set the userProperties property: Activity user properties.Methods inherited from class com.azure.analytics.synapse.artifacts.models.ExecutionActivity
getLinkedServiceName, getPolicy
Methods inherited from class com.azure.analytics.synapse.artifacts.models.Activity
getAdditionalProperties, getDependsOn, getDescription, getName, getUserProperties, setAdditionalProperties
-
Constructor Details
-
ScriptActivity
public ScriptActivity()
-
-
Method Details
-
getScripts
Get the scripts property: Array of script blocks. Type: array.- Returns:
- the scripts value.
-
setScripts
Set the scripts property: Array of script blocks. Type: array.- Parameters:
scripts
- the scripts value to set.- Returns:
- the ScriptActivity object itself.
-
getLogSettings
Get the logSettings property: Log settings of script activity.- Returns:
- the logSettings value.
-
setLogSettings
Set the logSettings property: Log settings of script activity.- Parameters:
logSettings
- the logSettings value to set.- Returns:
- the ScriptActivity object itself.
-
setLinkedServiceName
Set the linkedServiceName property: Linked service reference.- Overrides:
setLinkedServiceName
in classExecutionActivity
- Parameters:
linkedServiceName
- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
setPolicy
Set the policy property: Activity policy.- Overrides:
setPolicy
in classExecutionActivity
- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
setName
Set the name property: Activity name.- Overrides:
setName
in classExecutionActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
setDescription
Set the description property: Activity description.- Overrides:
setDescription
in classExecutionActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
setDependsOn
Set the dependsOn property: Activity depends on condition.- Overrides:
setDependsOn
in classExecutionActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
setUserProperties
Set the userProperties property: Activity user properties.- Overrides:
setUserProperties
in classExecutionActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-