public final class SwitchCase extends Object
| Constructor and Description |
|---|
SwitchCase() |
| Modifier and Type | Method and Description |
|---|---|
List<Activity> |
activities()
Get the activities property: List of activities to execute for satisfied case condition.
|
void |
validate()
Validates the instance.
|
String |
value()
Get the value property: Expected value that satisfies the expression result of the 'on' property.
|
SwitchCase |
withActivities(List<Activity> activities)
Set the activities property: List of activities to execute for satisfied case condition.
|
SwitchCase |
withValue(String value)
Set the value property: Expected value that satisfies the expression result of the 'on' property.
|
public String value()
public SwitchCase withValue(String value)
value - the value value to set.public List<Activity> activities()
public SwitchCase withActivities(List<Activity> activities)
activities - the activities value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.