ExecutionActivity Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. Activity - com.
azure. resourcemanager. datafactory. 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 |
linkedServiceName()
Get the linked |
|
Activity |
policy()
Get the policy property: Activity policy. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type of activity. |
| void |
validate()
Validates the instance. |
|
Execution |
withDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
|
Execution |
withDescription(String description)
Set the description property: Activity description. |
|
Execution |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linked |
|
Execution |
withName(String name)
Set the name property: Activity name. |
|
Execution |
withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
|
Execution |
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy. |
|
Execution |
withState(ActivityState state)
Set the state property: Activity state. |
|
Execution |
withUserProperties(List<UserProperty> userProperties)
Set the user |
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:
linkedServiceName
public LinkedServiceReference linkedServiceName()
Get the linkedServiceName property: Linked service reference.
Returns:
policy
public ActivityPolicy policy()
Get the policy property: Activity policy.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ExecutionActivity.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of activity.
Overrides:
ExecutionActivity.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ExecutionActivity.validate()withDependsOn
public ExecutionActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
Overrides:
ExecutionActivity.withDependsOn(List<ActivityDependency> dependsOn)Parameters:
withDescription
public ExecutionActivity withDescription(String description)
Set the description property: Activity description.
Overrides:
ExecutionActivity.withDescription(String description)Parameters:
withLinkedServiceName
public ExecutionActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
Parameters:
Returns:
withName
public ExecutionActivity withName(String name)
Set the name property: Activity name.
Overrides:
ExecutionActivity.withName(String name)Parameters:
withOnInactiveMarkAs
public ExecutionActivity withOnInactiveMarkAs(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.withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)Parameters:
withPolicy
public ExecutionActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
Parameters:
Returns:
withState
public ExecutionActivity withState(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.withState(ActivityState state)Parameters:
withUserProperties
public ExecutionActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
Overrides:
ExecutionActivity.withUserProperties(List<UserProperty> userProperties)Parameters: