Class DeleteActivity


public class DeleteActivity extends ExecutionActivity
Delete activity.
  • Constructor Details

    • DeleteActivity

      public DeleteActivity()
  • Method Details

    • getRecursive

      public Object getRecursive()
      Get the recursive property: If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean).
      Returns:
      the recursive value.
    • setRecursive

      public DeleteActivity setRecursive(Object recursive)
      Set the recursive property: If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean).
      Parameters:
      recursive - the recursive value to set.
      Returns:
      the DeleteActivity object itself.
    • getMaxConcurrentConnections

      public Integer getMaxConcurrentConnections()
      Get the maxConcurrentConnections property: The max concurrent connections to connect data source at the same time.
      Returns:
      the maxConcurrentConnections value.
    • setMaxConcurrentConnections

      public DeleteActivity setMaxConcurrentConnections(Integer maxConcurrentConnections)
      Set the maxConcurrentConnections property: The max concurrent connections to connect data source at the same time.
      Parameters:
      maxConcurrentConnections - the maxConcurrentConnections value to set.
      Returns:
      the DeleteActivity object itself.
    • getEnableLogging

      public Object getEnableLogging()
      Get the enableLogging property: Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean).
      Returns:
      the enableLogging value.
    • setEnableLogging

      public DeleteActivity setEnableLogging(Object enableLogging)
      Set the enableLogging property: Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean).
      Parameters:
      enableLogging - the enableLogging value to set.
      Returns:
      the DeleteActivity object itself.
    • getLogStorageSettings

      public LogStorageSettings getLogStorageSettings()
      Get the logStorageSettings property: Log storage settings customer need to provide when enableLogging is true.
      Returns:
      the logStorageSettings value.
    • setLogStorageSettings

      public DeleteActivity setLogStorageSettings(LogStorageSettings logStorageSettings)
      Set the logStorageSettings property: Log storage settings customer need to provide when enableLogging is true.
      Parameters:
      logStorageSettings - the logStorageSettings value to set.
      Returns:
      the DeleteActivity object itself.
    • getDataset

      public DatasetReference getDataset()
      Get the dataset property: Delete activity dataset reference.
      Returns:
      the dataset value.
    • setDataset

      public DeleteActivity setDataset(DatasetReference dataset)
      Set the dataset property: Delete activity dataset reference.
      Parameters:
      dataset - the dataset value to set.
      Returns:
      the DeleteActivity object itself.
    • getStoreSettings

      public StoreReadSettings getStoreSettings()
      Get the storeSettings property: Delete activity store settings.
      Returns:
      the storeSettings value.
    • setStoreSettings

      public DeleteActivity setStoreSettings(StoreReadSettings storeSettings)
      Set the storeSettings property: Delete activity store settings.
      Parameters:
      storeSettings - the storeSettings value to set.
      Returns:
      the DeleteActivity object itself.
    • setLinkedServiceName

      public DeleteActivity setLinkedServiceName(LinkedServiceReference linkedServiceName)
      Set the linkedServiceName property: Linked service reference.
      Overrides:
      setLinkedServiceName in class ExecutionActivity
      Parameters:
      linkedServiceName - the linkedServiceName value to set.
      Returns:
      the ExecutionActivity object itself.
    • setPolicy

      public DeleteActivity setPolicy(ActivityPolicy policy)
      Set the policy property: Activity policy.
      Overrides:
      setPolicy in class ExecutionActivity
      Parameters:
      policy - the policy value to set.
      Returns:
      the ExecutionActivity object itself.
    • setName

      public DeleteActivity setName(String name)
      Set the name property: Activity name.
      Overrides:
      setName in class ExecutionActivity
      Parameters:
      name - the name value to set.
      Returns:
      the Activity object itself.
    • setDescription

      public DeleteActivity setDescription(String description)
      Set the description property: Activity description.
      Overrides:
      setDescription in class ExecutionActivity
      Parameters:
      description - the description value to set.
      Returns:
      the Activity object itself.
    • setDependsOn

      public DeleteActivity setDependsOn(List<ActivityDependency> dependsOn)
      Set the dependsOn property: Activity depends on condition.
      Overrides:
      setDependsOn in class ExecutionActivity
      Parameters:
      dependsOn - the dependsOn value to set.
      Returns:
      the Activity object itself.
    • setUserProperties

      public DeleteActivity setUserProperties(List<UserProperty> userProperties)
      Set the userProperties property: Activity user properties.
      Overrides:
      setUserProperties in class ExecutionActivity
      Parameters:
      userProperties - the userProperties value to set.
      Returns:
      the Activity object itself.