ForEachActivity Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. Activity - com.
azure. analytics. synapse. artifacts. models. ControlActivity - com.
azure. analytics. synapse. artifacts. models. ForEachActivity
- com.
- com.
- com.
public class ForEachActivity
extends ControlActivity
This activity is used for iterating over a collection and execute given activities.
Constructor Summary
Constructor | Description |
---|---|
ForEachActivity() |
Creates an instance of For |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Activity> |
getActivities()
Get the activities property: List of activities to execute . |
Integer |
getBatchCount()
Get the batch |
Expression |
getItems()
Get the items property: Collection to iterate. |
Boolean |
isSequential()
Get the is |
For |
setActivities(List<Activity> activities)
Set the activities property: List of activities to execute . |
For |
setBatchCount(Integer batchCount)
Set the batch |
For |
setDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
For |
setDescription(String description)
Set the description property: Activity description. |
For |
setIsSequential(Boolean isSequential)
Set the is |
For |
setItems(Expression items)
Set the items property: Collection to iterate. |
For |
setName(String name)
Set the name property: Activity name. |
For |
setOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
For |
setState(ActivityState state)
Set the state property: Activity state. |
For |
setUserProperties(List<UserProperty> userProperties)
Set the user |
Methods inherited from Activity
Methods inherited from ControlActivity
Methods inherited from java.lang.Object
Constructor Details
ForEachActivity
public ForEachActivity()
Creates an instance of ForEachActivity class.
Method Details
getActivities
public List
Get the activities property: List of activities to execute .
Returns:
getBatchCount
public Integer getBatchCount()
Get the batchCount property: Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).
Returns:
getItems
public Expression getItems()
Get the items property: Collection to iterate.
Returns:
isSequential
public Boolean isSequential()
Get the isSequential property: Should the loop be executed in sequence or in parallel (max 50).
Returns:
setActivities
public ForEachActivity setActivities(List
Set the activities property: List of activities to execute .
Parameters:
Returns:
setBatchCount
public ForEachActivity setBatchCount(Integer batchCount)
Set the batchCount property: Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).
Parameters:
Returns:
setDependsOn
public ForEachActivity setDependsOn(List
Set the dependsOn property: Activity depends on condition.
Overrides:
ForEachActivity.setDependsOn(List<ActivityDependency> dependsOn)Parameters:
setDescription
public ForEachActivity setDescription(String description)
Set the description property: Activity description.
Overrides:
ForEachActivity.setDescription(String description)Parameters:
setIsSequential
public ForEachActivity setIsSequential(Boolean isSequential)
Set the isSequential property: Should the loop be executed in sequence or in parallel (max 50).
Parameters:
Returns:
setItems
public ForEachActivity setItems(Expression items)
Set the items property: Collection to iterate.
Parameters:
Returns:
setName
public ForEachActivity setName(String name)
Set the name property: Activity name.
Overrides:
ForEachActivity.setName(String name)Parameters:
setOnInactiveMarkAs
public ForEachActivity 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:
ForEachActivity.setOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)Parameters:
setState
public ForEachActivity 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:
ForEachActivity.setState(ActivityState state)Parameters:
setUserProperties
public ForEachActivity setUserProperties(List
Set the userProperties property: Activity user properties.
Overrides:
ForEachActivity.setUserProperties(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