ExecutionActivity Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. Activity - com.
azure. analytics. synapse. artifacts. models. ExecutionActivity
- com.
- com.
public class ExecutionActivity
extends Activity
Base class for all execution activities.
Constructor Summary
| Constructor | Description |
|---|---|
| ExecutionActivity() |
Creates an instance of Execution |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Execution |
fromJson(JsonReader jsonReader)
Reads an instance of Execution |
|
Linked |
getLinkedServiceName()
Get the linked |
|
Activity |
getPolicy()
Get the policy property: Activity policy. |
| String |
getType()
Get the type property: Type of activity. |
|
Execution |
setDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
|
Execution |
setDescription(String description)
Set the description property: Activity description. |
|
Execution |
setLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linked |
|
Execution |
setName(String name)
Set the name property: Activity name. |
|
Execution |
setOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
|
Execution |
setPolicy(ActivityPolicy policy)
Set the policy property: Activity policy. |
|
Execution |
setState(ActivityState state)
Set the state property: Activity state. |
|
Execution |
setUserProperties(List<UserProperty> userProperties)
Set the user |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from Activity
Methods inherited from java.lang.Object
Constructor Details
ExecutionActivity
public ExecutionActivity()
Creates an instance of ExecutionActivity class.
Method Details
fromJson
public static ExecutionActivity fromJson(JsonReader jsonReader)
Reads an instance of ExecutionActivity from the JsonReader.
Parameters:
Returns:
Throws:
getLinkedServiceName
public LinkedServiceReference getLinkedServiceName()
Get the linkedServiceName property: Linked service reference.
Returns:
getPolicy
public ActivityPolicy getPolicy()
Get the policy property: Activity policy.
Returns:
getType
public String getType()
Get the type property: Type of activity.
Overrides:
ExecutionActivity.getType()Returns:
setDependsOn
public ExecutionActivity setDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
Overrides:
ExecutionActivity.setDependsOn(List<ActivityDependency> dependsOn)Parameters:
setDescription
public ExecutionActivity setDescription(String description)
Set the description property: Activity description.
Overrides:
ExecutionActivity.setDescription(String description)Parameters:
setLinkedServiceName
public ExecutionActivity setLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
Parameters:
Returns:
setName
public ExecutionActivity setName(String name)
Set the name property: Activity name.
Overrides:
ExecutionActivity.setName(String name)Parameters:
setOnInactiveMarkAs
public ExecutionActivity setOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
Overrides:
ExecutionActivity.setOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)Parameters:
setPolicy
public ExecutionActivity setPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
Parameters:
Returns:
setState
public ExecutionActivity setState(ActivityState state)
Set the state property: Activity state. This is an optional property and if not provided, the state will be Active by default.
Overrides:
ExecutionActivity.setState(ActivityState state)Parameters:
setUserProperties
public ExecutionActivity setUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
Overrides:
ExecutionActivity.setUserProperties(List<UserProperty> userProperties)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ExecutionActivity.toJson(JsonWriter jsonWriter)Parameters:
Throws: