public final class SwitchActivityTypeProperties extends Object
| Constructor and Description |
|---|
SwitchActivityTypeProperties() |
| Modifier and Type | Method and Description |
|---|---|
List<SwitchCase> |
cases()
Get the cases property: List of cases that correspond to expected values of the 'on' property.
|
List<Activity> |
defaultActivities()
Get the defaultActivities property: List of activities to execute if no case condition is satisfied.
|
Expression |
on()
Get the on property: An expression that would evaluate to a string or integer.
|
void |
validate()
Validates the instance.
|
SwitchActivityTypeProperties |
withCases(List<SwitchCase> cases)
Set the cases property: List of cases that correspond to expected values of the 'on' property.
|
SwitchActivityTypeProperties |
withDefaultActivities(List<Activity> defaultActivities)
Set the defaultActivities property: List of activities to execute if no case condition is satisfied.
|
SwitchActivityTypeProperties |
withOn(Expression on)
Set the on property: An expression that would evaluate to a string or integer.
|
public Expression on()
public SwitchActivityTypeProperties withOn(Expression on)
on - the on value to set.public List<SwitchCase> cases()
public SwitchActivityTypeProperties withCases(List<SwitchCase> cases)
cases - the cases value to set.public List<Activity> defaultActivities()
public SwitchActivityTypeProperties withDefaultActivities(List<Activity> defaultActivities)
defaultActivities - the defaultActivities value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.