DataSource¶
-
public class
DataSource
extends TaskConfigStep¶ Represents a single data source object used by a task. This class is part of the task itself and does not describe the data source itself. This object translates to retrieving a data source object during task execution.
Constructors¶
DataSource¶
-
public
DataSource
(DataSourceDto dto)¶ Constructor.
Parameters: - dto – DataSource data transfer object
DataSource¶
-
public
DataSource
(String providerName, Long providerId, Long objectId, String type, String name, List<Lookup> lookup, boolean failIfDataNotFound)¶ Constructor.
Parameters: - providerName – the provider name
- providerId – the provider ID
- objectId – the object ID
- type – the data source type
- name – the data source name
- lookup – the lookup name
- failIfDataNotFound – defines if task should fail if no data was found
DataSource¶
Methods¶
toDto¶
-
public DataSourceDto
toDto
()¶