ControlActivity Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. Activity - com.
azure. resourcemanager. datafactory. models. ControlActivity
- com.
- com.
public class ControlActivity
extends Activity
Base class for all control activities like IfCondition, ForEach , Until.
Constructor Summary
| Constructor | Description |
|---|---|
| ControlActivity() |
Creates an instance of Control |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Control |
fromJson(JsonReader jsonReader)
Reads an instance of Control |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type of activity. |
| void |
validate()
Validates the instance. |
|
Control |
withDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
|
Control |
withDescription(String description)
Set the description property: Activity description. |
|
Control |
withName(String name)
Set the name property: Activity name. |
|
Control |
withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
|
Control |
withState(ActivityState state)
Set the state property: Activity state. |
|
Control |
withUserProperties(List<UserProperty> userProperties)
Set the user |
Methods inherited from Activity
Methods inherited from java.lang.Object
Constructor Details
ControlActivity
public ControlActivity()
Creates an instance of ControlActivity class.
Method Details
fromJson
public static ControlActivity fromJson(JsonReader jsonReader)
Reads an instance of ControlActivity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ControlActivity.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of activity.
Overrides:
ControlActivity.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ControlActivity.validate()withDependsOn
public ControlActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
Overrides:
ControlActivity.withDependsOn(List<ActivityDependency> dependsOn)Parameters:
withDescription
public ControlActivity withDescription(String description)
Set the description property: Activity description.
Overrides:
ControlActivity.withDescription(String description)Parameters:
withName
public ControlActivity withName(String name)
Set the name property: Activity name.
Overrides:
ControlActivity.withName(String name)Parameters:
withOnInactiveMarkAs
public ControlActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
Overrides:
ControlActivity.withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)Parameters:
withState
public ControlActivity withState(ActivityState state)
Set the state property: Activity state. This is an optional property and if not provided, the state will be Active by default.
Overrides:
ControlActivity.withState(ActivityState state)Parameters:
withUserProperties
public ControlActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
Overrides:
ControlActivity.withUserProperties(List<UserProperty> userProperties)Parameters: