public final class SetVariableActivity extends ControlActivity
| Constructor and Description |
|---|
SetVariableActivity() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Validates the instance.
|
Object |
value()
Get the value property: Value to be set.
|
String |
variableName()
Get the variableName property: Name of the variable whose value needs to be set.
|
SetVariableActivity |
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
|
SetVariableActivity |
withDescription(String description)
Set the description property: Activity description.
|
SetVariableActivity |
withName(String name)
Set the name property: Activity name.
|
SetVariableActivity |
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
|
SetVariableActivity |
withValue(Object value)
Set the value property: Value to be set.
|
SetVariableActivity |
withVariableName(String variableName)
Set the variableName property: Name of the variable whose value needs to be set.
|
additionalProperties, dependsOn, description, name, userProperties, withAdditionalPropertiespublic SetVariableActivity withName(String name)
withName in class ControlActivityname - the name value to set.public SetVariableActivity withDescription(String description)
withDescription in class ControlActivitydescription - the description value to set.public SetVariableActivity withDependsOn(List<ActivityDependency> dependsOn)
withDependsOn in class ControlActivitydependsOn - the dependsOn value to set.public SetVariableActivity withUserProperties(List<UserProperty> userProperties)
withUserProperties in class ControlActivityuserProperties - the userProperties value to set.public String variableName()
public SetVariableActivity withVariableName(String variableName)
variableName - the variableName value to set.public Object value()
public SetVariableActivity withValue(Object value)
value - the value value to set.public void validate()
validate in class ControlActivityIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.