public class ForEachActivity extends ControlActivity
| Constructor and Description |
|---|
ForEachActivity() |
| Modifier and Type | Method and Description |
|---|---|
List<Activity> |
activities()
Get the activities property: List of activities to execute .
|
Integer |
batchCount()
Get the batchCount property: Batch count to be used for controlling the number of parallel execution (when
isSequential is set to false).
|
Boolean |
isSequential()
Get the isSequential property: Should the loop be executed in sequence or in parallel (max 50).
|
Expression |
items()
Get the items property: Collection to iterate.
|
void |
validate()
Validates the instance.
|
ForEachActivity |
withActivities(List<Activity> activities)
Set the activities property: List of activities to execute .
|
ForEachActivity |
withBatchCount(Integer batchCount)
Set the batchCount property: Batch count to be used for controlling the number of parallel execution (when
isSequential is set to false).
|
ForEachActivity |
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
|
ForEachActivity |
withDescription(String description)
Set the description property: Activity description.
|
ForEachActivity |
withIsSequential(Boolean isSequential)
Set the isSequential property: Should the loop be executed in sequence or in parallel (max 50).
|
ForEachActivity |
withItems(Expression items)
Set the items property: Collection to iterate.
|
ForEachActivity |
withName(String name)
Set the name property: Activity name.
|
ForEachActivity |
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
|
additionalProperties, dependsOn, description, name, userProperties, withAdditionalPropertiespublic Boolean isSequential()
public ForEachActivity withIsSequential(Boolean isSequential)
isSequential - the isSequential value to set.public Integer batchCount()
public ForEachActivity withBatchCount(Integer batchCount)
batchCount - the batchCount value to set.public Expression items()
public ForEachActivity withItems(Expression items)
items - the items value to set.public List<Activity> activities()
public ForEachActivity withActivities(List<Activity> activities)
activities - the activities value to set.public ForEachActivity withName(String name)
withName in class ControlActivityname - the name value to set.public ForEachActivity withDescription(String description)
withDescription in class ControlActivitydescription - the description value to set.public ForEachActivity withDependsOn(List<ActivityDependency> dependsOn)
withDependsOn in class ControlActivitydependsOn - the dependsOn value to set.public ForEachActivity withUserProperties(List<UserProperty> userProperties)
withUserProperties in class ControlActivityuserProperties - the userProperties value to set.public void validate()
validate in class ControlActivityIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.