Class SqlServerStoredProcedureActivity


public final class SqlServerStoredProcedureActivity extends ExecutionActivity
SQL stored procedure activity type.
  • Constructor Details

    • SqlServerStoredProcedureActivity

      public SqlServerStoredProcedureActivity()
  • Method Details

    • withLinkedServiceName

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

      Set the policy property: Activity policy.
      Overrides:
      withPolicy in class ExecutionActivity
      Parameters:
      policy - the policy value to set.
      Returns:
      the ExecutionActivity object itself.
    • withName

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

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

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

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

      public Object storedProcedureName()
      Get the storedProcedureName property: Stored procedure name. Type: string (or Expression with resultType string).
      Returns:
      the storedProcedureName value.
    • withStoredProcedureName

      public SqlServerStoredProcedureActivity withStoredProcedureName(Object storedProcedureName)
      Set the storedProcedureName property: Stored procedure name. Type: string (or Expression with resultType string).
      Parameters:
      storedProcedureName - the storedProcedureName value to set.
      Returns:
      the SqlServerStoredProcedureActivity object itself.
    • storedProcedureParameters

      public Object storedProcedureParameters()
      Get the storedProcedureParameters property: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
      Returns:
      the storedProcedureParameters value.
    • withStoredProcedureParameters

      public SqlServerStoredProcedureActivity withStoredProcedureParameters(Object storedProcedureParameters)
      Set the storedProcedureParameters property: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
      Parameters:
      storedProcedureParameters - the storedProcedureParameters value to set.
      Returns:
      the SqlServerStoredProcedureActivity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ExecutionActivity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.