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 |
---|---|
Linked |
linkedServiceName()
Get the linked |
Activity |
policy()
Get the policy property: Activity policy. |
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
linkedServiceName
public LinkedServiceReference linkedServiceName()
Get the linkedServiceName property: Linked service reference.
Returns:
policy
public ActivityPolicy policy()
Get the policy property: Activity policy.
Returns:
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
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
Set the userProperties property: Activity user properties.
Overrides:
ExecutionActivity.withUserProperties(List<UserProperty> userProperties)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for