ExecutionActivity Class

public class ExecutionActivity
extends Activity

Base class for all execution activities.

Constructor Summary

Constructor Description
ExecutionActivity()

Creates an instance of ExecutionActivity class.

Method Summary

Modifier and Type Method and Description
LinkedServiceReference getLinkedServiceName()

Get the linkedServiceName property: Linked service reference.

ActivityPolicy getPolicy()

Get the policy property: Activity policy.

ExecutionActivity setDependsOn(List<ActivityDependency> dependsOn)

Set the dependsOn property: Activity depends on condition.

ExecutionActivity setDescription(String description)

Set the description property: Activity description.

ExecutionActivity setLinkedServiceName(LinkedServiceReference linkedServiceName)

Set the linkedServiceName property: Linked service reference.

ExecutionActivity setName(String name)

Set the name property: Activity name.

ExecutionActivity setOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)

Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive.

ExecutionActivity setPolicy(ActivityPolicy policy)

Set the policy property: Activity policy.

ExecutionActivity setState(ActivityState state)

Set the state property: Activity state.

ExecutionActivity setUserProperties(List<UserProperty> userProperties)

Set the userProperties property: Activity user properties.

Methods inherited from Activity

Methods inherited from java.lang.Object

Constructor Details

ExecutionActivity

public ExecutionActivity()

Creates an instance of ExecutionActivity class.

Method Details

getLinkedServiceName

public LinkedServiceReference getLinkedServiceName()

Get the linkedServiceName property: Linked service reference.

Returns:

the linkedServiceName value.

getPolicy

public ActivityPolicy getPolicy()

Get the policy property: Activity policy.

Returns:

the policy value.

setDependsOn

public ExecutionActivity setDependsOn(List dependsOn)

Set the dependsOn property: Activity depends on condition.

Overrides:

ExecutionActivity.setDependsOn(List<ActivityDependency> dependsOn)

Parameters:

dependsOn

setDescription

public ExecutionActivity setDescription(String description)

Set the description property: Activity description.

Overrides:

ExecutionActivity.setDescription(String description)

Parameters:

description

setLinkedServiceName

public ExecutionActivity setLinkedServiceName(LinkedServiceReference linkedServiceName)

Set the linkedServiceName property: Linked service reference.

Parameters:

linkedServiceName - the linkedServiceName value to set.

Returns:

the ExecutionActivity object itself.

setName

public ExecutionActivity setName(String name)

Set the name property: Activity name.

Overrides:

ExecutionActivity.setName(String name)

Parameters:

name

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:

onInactiveMarkAs

setPolicy

public ExecutionActivity setPolicy(ActivityPolicy policy)

Set the policy property: Activity policy.

Parameters:

policy - the policy value to set.

Returns:

the ExecutionActivity object itself.

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:

state

setUserProperties

public ExecutionActivity setUserProperties(List userProperties)

Set the userProperties property: Activity user properties.

Overrides:

ExecutionActivity.setUserProperties(List<UserProperty> userProperties)

Parameters:

userProperties

Applies to