new $k.ImportTask()
Methods
(static) from(taskElement) → {$k.ImportTask}
Returns the ImportTask defined by the element
Parameters:
| Name | Type | Description |
|---|---|---|
taskElement | $k. | The ImportTask element |
- Since
- 6.1.0
Returns:
- Type:
- $k.
ImportTask
insertJob()
Set the mapping to be used for the import
- Since
- 6.1.0
runImport()
Run the import
- Since
- 6.1.0
Throws:
If the import data or mapping is not specified
If the import result could not be created
semanticElement() → {$k.SemanticElement|undefined}
Get the task semantic element
- Since
- 6.1.0
Returns:
- Type:
- $k.
SemanticElement |undefined
setImportData(data)
Set the data to be imported
Parameters:
| Name | Type | Description |
|---|---|---|
data | $k. | Data to be imported |
- Since
- 6.1.0
setMapping(mapping)
Set the mapping to be used for the import
Parameters:
| Name | Type | Description |
|---|---|---|
mapping | $k. | mapping or mapping registry key |
- Since
- 6.1.0