public final class IfConditionActivity extends ControlActivity
| Constructor and Description |
|---|
IfConditionActivity() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
expression()
Get the expression property: An expression that would evaluate to Boolean.
|
List<Activity> |
ifFalseActivities()
Get the ifFalseActivities property: List of activities to execute if expression is evaluated to false.
|
List<Activity> |
ifTrueActivities()
Get the ifTrueActivities property: List of activities to execute if expression is evaluated to true.
|
void |
validate()
Validates the instance.
|
IfConditionActivity |
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
|
IfConditionActivity |
withDescription(String description)
Set the description property: Activity description.
|
IfConditionActivity |
withExpression(Expression expression)
Set the expression property: An expression that would evaluate to Boolean.
|
IfConditionActivity |
withIfFalseActivities(List<Activity> ifFalseActivities)
Set the ifFalseActivities property: List of activities to execute if expression is evaluated to false.
|
IfConditionActivity |
withIfTrueActivities(List<Activity> ifTrueActivities)
Set the ifTrueActivities property: List of activities to execute if expression is evaluated to true.
|
IfConditionActivity |
withName(String name)
Set the name property: Activity name.
|
IfConditionActivity |
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
|
additionalProperties, dependsOn, description, name, userProperties, withAdditionalPropertiespublic IfConditionActivity withName(String name)
withName in class ControlActivityname - the name value to set.public IfConditionActivity withDescription(String description)
withDescription in class ControlActivitydescription - the description value to set.public IfConditionActivity withDependsOn(List<ActivityDependency> dependsOn)
withDependsOn in class ControlActivitydependsOn - the dependsOn value to set.public IfConditionActivity withUserProperties(List<UserProperty> userProperties)
withUserProperties in class ControlActivityuserProperties - the userProperties value to set.public Expression expression()
public IfConditionActivity withExpression(Expression expression)
expression - the expression value to set.public List<Activity> ifTrueActivities()
public IfConditionActivity withIfTrueActivities(List<Activity> ifTrueActivities)
ifTrueActivities - the ifTrueActivities value to set.public List<Activity> ifFalseActivities()
public IfConditionActivity withIfFalseActivities(List<Activity> ifFalseActivities)
ifFalseActivities - the ifFalseActivities value to set.public void validate()
validate in class ControlActivityIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.