Commit c31064eb authored by Mike Ryan's avatar Mike Ryan

#61: Move static task methods to new DataPipeline class.

parent 96e5c97d
Pipeline #53716474 failed with stage
in 2 minutes and 8 seconds
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE soong_dbal_extractor_test_empty_table (id INTEGER NOT NULL, PRIMARY KEY(id));
COMMIT;
......@@ -8,8 +8,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [Unreleased]
### Changed
- Static methods removed from `Task` component and moved to non-static methods on the new `TaskPipeline` component: `addTask()`, `getTask()`, `getAllTasks()`.
### Added
- Tests for `Extractor`, `KeyMap`, and `Loader` components.
- `TaskPipeline` component for managing groups of tasks.
- Tests for `Extractor`, `KeyMap`, `Loader`, and `Task` components.
## [0.4.0] - 2019-02-15
......
This diff is collapsed.
......@@ -26,7 +26,8 @@ var annotated_dup =
] ],
[ "Task", null, [
[ "EtlTask", "interface_soong_1_1_contracts_1_1_task_1_1_etl_task.html", "interface_soong_1_1_contracts_1_1_task_1_1_etl_task" ],
[ "Task", "interface_soong_1_1_contracts_1_1_task_1_1_task.html", "interface_soong_1_1_contracts_1_1_task_1_1_task" ]
[ "Task", "interface_soong_1_1_contracts_1_1_task_1_1_task.html", "interface_soong_1_1_contracts_1_1_task_1_1_task" ],
[ "TaskPipeline", "interface_soong_1_1_contracts_1_1_task_1_1_task_pipeline.html", "interface_soong_1_1_contracts_1_1_task_1_1_task_pipeline" ]
] ],
[ "Transformer", null, [
[ "Transformer", "interface_soong_1_1_contracts_1_1_transformer_1_1_transformer.html", "interface_soong_1_1_contracts_1_1_transformer_1_1_transformer" ]
......@@ -55,7 +56,8 @@ var annotated_dup =
] ],
[ "Task", null, [
[ "EtlTask", "class_soong_1_1_task_1_1_etl_task.html", "class_soong_1_1_task_1_1_etl_task" ],
[ "Task", "class_soong_1_1_task_1_1_task.html", "class_soong_1_1_task_1_1_task" ]
[ "Task", "class_soong_1_1_task_1_1_task.html", "class_soong_1_1_task_1_1_task" ],
[ "TaskPipeline", "class_soong_1_1_task_1_1_task_pipeline.html", "class_soong_1_1_task_1_1_task_pipeline" ]
] ],
[ "Tests", null, [
[ "Contracts", null, [
......@@ -72,6 +74,9 @@ var annotated_dup =
[ "Loader", null, [
[ "LoaderTestBase", "class_soong_1_1_tests_1_1_contracts_1_1_loader_1_1_loader_test_base.html", "class_soong_1_1_tests_1_1_contracts_1_1_loader_1_1_loader_test_base" ]
] ],
[ "Task", null, [
[ "TaskTestBase", "class_soong_1_1_tests_1_1_contracts_1_1_task_1_1_task_test_base.html", "class_soong_1_1_tests_1_1_contracts_1_1_task_1_1_task_test_base" ]
] ],
[ "Transformer", null, [
[ "TransFormerTestBase", "class_soong_1_1_tests_1_1_contracts_1_1_transformer_1_1_trans_former_test_base.html", "class_soong_1_1_tests_1_1_contracts_1_1_transformer_1_1_trans_former_test_base" ]
] ]
......
......@@ -93,17 +93,13 @@ $(document).ready(function(){initNavTree('class_soong_1_1_task_1_1_etl_task.html
<p>This is the complete list of members for <a class="el" href="class_soong_1_1_task_1_1_etl_task.html">EtlTask</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#affec3aee02b830965ed105ef1b3234c9">__construct</a>(array $configuration)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a53b2f6c9aac908e6e720229a99b58b0d">addTask</a>(string $id, array $configuration)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a9ecbd7222fad3e3e1960502a4337cd63">create</a>(array $configuration)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a01dbd6fdfc91f9373a3a8638ff20b692">execute</a>(string $operation, array $options=[])</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#aa2a0c45dd9466118169b4d5702c3b27d">getAllTasks</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#ad6a7980e832ca964872fe29113ab1642">getConfiguration</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html#a1f14d9ef6ece34c841d523de0d77c030">getExtractor</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html">EtlTask</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html#a16d185f3425c0edbac2780446101b31a">getKeyMap</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html">EtlTask</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html#a461527c1de39a5520c52951b8f03d99f">getLoader</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html">EtlTask</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a550dc436516e7fb1779d5dcb8974c9e0">getTask</a>(string $id)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a22792d5d831caabd6eeb8c89267fb443">isCompleted</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#a9ecbd7222fad3e3e1960502a4337cd63">create</a>(array $configuration)</td><td class="entry"><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html">Task</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#a01dbd6fdfc91f9373a3a8638ff20b692">execute</a>(string $operation, array $options=[])</td><td class="entry"><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html">Task</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#ad6a7980e832ca964872fe29113ab1642">getConfiguration</a>()</td><td class="entry"><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html">Task</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html#a1f14d9ef6ece34c841d523de0d77c030">getExtractor</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html">EtlTask</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html#a16d185f3425c0edbac2780446101b31a">getKeyMap</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html">EtlTask</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html#a461527c1de39a5520c52951b8f03d99f">getLoader</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html">EtlTask</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#a22792d5d831caabd6eeb8c89267fb443">isCompleted</a>()</td><td class="entry"><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html">Task</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html#a1126391226f8f5f04645b310ee8e30d4">migrate</a>(array $options)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html">EtlTask</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html#abadaa3cfe70d91db25b8a0a9f6a9db05">rollback</a>(array $options)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html">EtlTask</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
......
......@@ -99,10 +99,9 @@ Inheritance diagram for EtlTask:</div>
<div class="center">
<img src="class_soong_1_1_task_1_1_etl_task.png" usemap="#EtlTask_map" alt=""/>
<map id="EtlTask_map" name="EtlTask_map">
<area href="class_soong_1_1_task_1_1_task.html" title="Basic base class for migration tasks." alt="Task" shape="rect" coords="0,56,52,80"/>
<area href="interface_soong_1_1_contracts_1_1_task_1_1_task.html" title="Interface for tasks implementing operations." alt="Task" shape="rect" coords="0,56,52,80"/>
<area href="interface_soong_1_1_contracts_1_1_task_1_1_etl_task.html" title="Tasks for performing migration operations." alt="EtlTask" shape="rect" coords="62,56,114,80"/>
<area href="interface_soong_1_1_contracts_1_1_task_1_1_task.html" title="Interface for tasks implementing operations as part of a pipeline." alt="Task" shape="rect" coords="0,0,52,24"/>
<area href="interface_soong_1_1_contracts_1_1_task_1_1_task.html" title="Interface for tasks implementing operations as part of a pipeline." alt="Task" shape="rect" coords="62,0,114,24"/>
<area href="interface_soong_1_1_contracts_1_1_task_1_1_task.html" title="Interface for tasks implementing operations." alt="Task" shape="rect" coords="62,0,114,24"/>
</map>
</div></div>
<table class="memberdecls">
......@@ -118,28 +117,19 @@ Public Member Functions</h2></td></tr>
<tr class="separator:a1126391226f8f5f04645b310ee8e30d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abadaa3cfe70d91db25b8a0a9f6a9db05"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_etl_task.html#abadaa3cfe70d91db25b8a0a9f6a9db05">rollback</a> (array $options)</td></tr>
<tr class="separator:abadaa3cfe70d91db25b8a0a9f6a9db05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_soong_1_1_task_1_1_task"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_soong_1_1_task_1_1_task')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td></tr>
<tr class="memitem:a01dbd6fdfc91f9373a3a8638ff20b692 inherit pub_methods_class_soong_1_1_task_1_1_task"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_task.html#a01dbd6fdfc91f9373a3a8638ff20b692">execute</a> (string $operation, array $options=[])</td></tr>
<tr class="separator:a01dbd6fdfc91f9373a3a8638ff20b692 inherit pub_methods_class_soong_1_1_task_1_1_task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6a7980e832ca964872fe29113ab1642 inherit pub_methods_class_soong_1_1_task_1_1_task"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_task.html#ad6a7980e832ca964872fe29113ab1642">getConfiguration</a> ()</td></tr>
<tr class="separator:ad6a7980e832ca964872fe29113ab1642 inherit pub_methods_class_soong_1_1_task_1_1_task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22792d5d831caabd6eeb8c89267fb443 inherit pub_methods_class_soong_1_1_task_1_1_task"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_task.html#a22792d5d831caabd6eeb8c89267fb443">isCompleted</a> ()</td></tr>
<tr class="separator:a22792d5d831caabd6eeb8c89267fb443 inherit pub_methods_class_soong_1_1_task_1_1_task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_interface_soong_1_1_contracts_1_1_task_1_1_task"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_interface_soong_1_1_contracts_1_1_task_1_1_task')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html">Task</a></td></tr>
<tr class="memitem:a01dbd6fdfc91f9373a3a8638ff20b692 inherit pub_methods_interface_soong_1_1_contracts_1_1_task_1_1_task"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#a01dbd6fdfc91f9373a3a8638ff20b692">execute</a> (string $operation, array $options=[])</td></tr>
<tr class="separator:a01dbd6fdfc91f9373a3a8638ff20b692 inherit pub_methods_interface_soong_1_1_contracts_1_1_task_1_1_task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6a7980e832ca964872fe29113ab1642 inherit pub_methods_interface_soong_1_1_contracts_1_1_task_1_1_task"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#ad6a7980e832ca964872fe29113ab1642">getConfiguration</a> ()</td></tr>
<tr class="separator:ad6a7980e832ca964872fe29113ab1642 inherit pub_methods_interface_soong_1_1_contracts_1_1_task_1_1_task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22792d5d831caabd6eeb8c89267fb443 inherit pub_methods_interface_soong_1_1_contracts_1_1_task_1_1_task"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#a22792d5d831caabd6eeb8c89267fb443">isCompleted</a> ()</td></tr>
<tr class="separator:a22792d5d831caabd6eeb8c89267fb443 inherit pub_methods_interface_soong_1_1_contracts_1_1_task_1_1_task"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_class_soong_1_1_task_1_1_task"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_soong_1_1_task_1_1_task')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td></tr>
<tr class="memitem:a53b2f6c9aac908e6e720229a99b58b0d inherit pub_static_methods_class_soong_1_1_task_1_1_task"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_task.html#a53b2f6c9aac908e6e720229a99b58b0d">addTask</a> (string $id, array $configuration)</td></tr>
<tr class="separator:a53b2f6c9aac908e6e720229a99b58b0d inherit pub_static_methods_class_soong_1_1_task_1_1_task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ecbd7222fad3e3e1960502a4337cd63 inherit pub_static_methods_class_soong_1_1_task_1_1_task"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_task.html#a9ecbd7222fad3e3e1960502a4337cd63">create</a> (array $configuration)</td></tr>
<tr class="separator:a9ecbd7222fad3e3e1960502a4337cd63 inherit pub_static_methods_class_soong_1_1_task_1_1_task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2a0c45dd9466118169b4d5702c3b27d inherit pub_static_methods_class_soong_1_1_task_1_1_task"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_task.html#aa2a0c45dd9466118169b4d5702c3b27d">getAllTasks</a> ()</td></tr>
<tr class="separator:aa2a0c45dd9466118169b4d5702c3b27d inherit pub_static_methods_class_soong_1_1_task_1_1_task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a550dc436516e7fb1779d5dcb8974c9e0 inherit pub_static_methods_class_soong_1_1_task_1_1_task"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_task.html#a550dc436516e7fb1779d5dcb8974c9e0">getTask</a> (string $id)</td></tr>
<tr class="separator:a550dc436516e7fb1779d5dcb8974c9e0 inherit pub_static_methods_class_soong_1_1_task_1_1_task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_soong_1_1_task_1_1_task"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_soong_1_1_task_1_1_task')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td></tr>
<tr class="memitem:affec3aee02b830965ed105ef1b3234c9 inherit pro_methods_class_soong_1_1_task_1_1_task"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_task.html#affec3aee02b830965ed105ef1b3234c9">__construct</a> (array $configuration)</td></tr>
<tr class="separator:affec3aee02b830965ed105ef1b3234c9 inherit pro_methods_class_soong_1_1_task_1_1_task"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_interface_soong_1_1_contracts_1_1_task_1_1_task"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_interface_soong_1_1_contracts_1_1_task_1_1_task')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html">Task</a></td></tr>
<tr class="memitem:a9ecbd7222fad3e3e1960502a4337cd63 inherit pub_static_methods_interface_soong_1_1_contracts_1_1_task_1_1_task"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#a9ecbd7222fad3e3e1960502a4337cd63">create</a> (array $configuration)</td></tr>
<tr class="separator:a9ecbd7222fad3e3e1960502a4337cd63 inherit pub_static_methods_interface_soong_1_1_contracts_1_1_task_1_1_task"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of operations for a full ETL process. </p>
......
......@@ -94,13 +94,10 @@ $(document).ready(function(){initNavTree('class_soong_1_1_task_1_1_task.html',''
<p>This is the complete list of members for <a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#affec3aee02b830965ed105ef1b3234c9">__construct</a>(array $configuration)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a53b2f6c9aac908e6e720229a99b58b0d">addTask</a>(string $id, array $configuration)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a9ecbd7222fad3e3e1960502a4337cd63">create</a>(array $configuration)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a01dbd6fdfc91f9373a3a8638ff20b692">execute</a>(string $operation, array $options=[])</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#aa2a0c45dd9466118169b4d5702c3b27d">getAllTasks</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a9ecbd7222fad3e3e1960502a4337cd63">create</a>(array $configuration)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a01dbd6fdfc91f9373a3a8638ff20b692">execute</a>(string $operation, array $options=[])</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#ad6a7980e832ca964872fe29113ab1642">getConfiguration</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a550dc436516e7fb1779d5dcb8974c9e0">getTask</a>(string $id)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a22792d5d831caabd6eeb8c89267fb443">isCompleted</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html#a22792d5d831caabd6eeb8c89267fb443">isCompleted</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task.html">Task</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
......
......@@ -101,8 +101,7 @@ Inheritance diagram for Task:</div>
<div class="center">
<img src="class_soong_1_1_task_1_1_task.png" usemap="#Task_map" alt=""/>
<map id="Task_map" name="Task_map">
<area href="interface_soong_1_1_contracts_1_1_task_1_1_task.html" title="Interface for tasks implementing operations as part of a pipeline." alt="Task" shape="rect" coords="0,0,52,24"/>
<area href="class_soong_1_1_task_1_1_etl_task.html" title="Implementation of operations for a full ETL process." alt="EtlTask" shape="rect" coords="0,112,52,136"/>
<area href="interface_soong_1_1_contracts_1_1_task_1_1_task.html" title="Interface for tasks implementing operations." alt="Task" shape="rect" coords="0,0,38,24"/>
</map>
</div></div>
<table class="memberdecls">
......@@ -117,14 +116,8 @@ Public Member Functions</h2></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a53b2f6c9aac908e6e720229a99b58b0d"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_task.html#a53b2f6c9aac908e6e720229a99b58b0d">addTask</a> (string $id, array $configuration)</td></tr>
<tr class="separator:a53b2f6c9aac908e6e720229a99b58b0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ecbd7222fad3e3e1960502a4337cd63"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_task.html#a9ecbd7222fad3e3e1960502a4337cd63">create</a> (array $configuration)</td></tr>
<tr class="separator:a9ecbd7222fad3e3e1960502a4337cd63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2a0c45dd9466118169b4d5702c3b27d"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_task.html#aa2a0c45dd9466118169b4d5702c3b27d">getAllTasks</a> ()</td></tr>
<tr class="separator:aa2a0c45dd9466118169b4d5702c3b27d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a550dc436516e7fb1779d5dcb8974c9e0"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_soong_1_1_task_1_1_task.html#a550dc436516e7fb1779d5dcb8974c9e0">getTask</a> (string $id)</td></tr>
<tr class="separator:a550dc436516e7fb1779d5dcb8974c9e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
......@@ -169,54 +162,6 @@ Protected Member Functions</h2></td></tr>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a53b2f6c9aac908e6e720229a99b58b0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53b2f6c9aac908e6e720229a99b58b0d">&#9670;&nbsp;</a></span>addTask()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static addTask </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>$id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">array&#160;</td>
<td class="paramname"><em>$configuration</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a task object with a given id from provided configuration.<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramtype">string</td><td class="paramname">$id</td><td>ID of the task to add. </td></tr>
<tr><td class="paramtype">array</td><td class="paramname">$configuration</td><td>Configuration of the task to add.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void</dd></dl>
</p>
<p>Implements <a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#a53b2f6c9aac908e6e720229a99b58b0d">Task</a>.</p>
</div>
</div>
<a id="a9ecbd7222fad3e3e1960502a4337cd63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ecbd7222fad3e3e1960502a4337cd63">&#9670;&nbsp;</a></span>create()</h2>
......@@ -247,7 +192,7 @@ Protected Member Functions</h2></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html" title="Interface for tasks implementing operations as part of a pipeline.">Task</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html" title="Interface for tasks implementing operations.">Task</a></dd></dl>
</p>
<p>Implements <a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#a9ecbd7222fad3e3e1960502a4337cd63">Task</a>.</p>
......@@ -291,36 +236,6 @@ Protected Member Functions</h2></td></tr>
<p>Implements <a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#a01dbd6fdfc91f9373a3a8638ff20b692">Task</a>.</p>
</div>
</div>
<a id="aa2a0c45dd9466118169b4d5702c3b27d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2a0c45dd9466118169b4d5702c3b27d">&#9670;&nbsp;</a></span>getAllTasks()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static getAllTasks </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieve a list of all tasks.<dl class="section return"><dt>Returns</dt><dd><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html" title="Interface for tasks implementing operations as part of a pipeline.">Task</a>[] List of tasks, keyed by ID.</dd></dl>
</p>
<p>Implements <a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#aa2a0c45dd9466118169b4d5702c3b27d">Task</a>.</p>
</div>
</div>
<a id="ad6a7980e832ca964872fe29113ab1642"></a>
......@@ -343,45 +258,6 @@ Protected Member Functions</h2></td></tr>
<p>Implements <a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#ad6a7980e832ca964872fe29113ab1642">Task</a>.</p>
</div>
</div>
<a id="a550dc436516e7fb1779d5dcb8974c9e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a550dc436516e7fb1779d5dcb8974c9e0">&#9670;&nbsp;</a></span>getTask()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static getTask </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>$id</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieve the specified task.<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramtype">string</td><td class="paramname">$id</td><td>ID of the task to retrieve.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html" title="Interface for tasks implementing operations as part of a pipeline.">Task</a> The specified task.</dd></dl>
</p>
<p>Implements <a class="el" href="interface_soong_1_1_contracts_1_1_task_1_1_task.html#a550dc436516e7fb1779d5dcb8974c9e0">Task</a>.</p>
<p class="reference">Referenced by <a class="el" href="class_soong_1_1_transformer_1_1_key_map_lookup.html#a721df97b0ec866ef25fe4a87468a9924">KeyMapLookup\transform()</a>.</p>
</div>
</div>
<a id="a22792d5d831caabd6eeb8c89267fb443"></a>
......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Soong: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Soong
</div>
<div id="projectbrief">Soong provides a general-purpose ETL library for data migration.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_soong_1_1_task_1_1_task_pipeline.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">TaskPipeline Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_soong_1_1_task_1_1_task_pipeline.html">TaskPipeline</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task_pipeline.html#affec3aee02b830965ed105ef1b3234c9">__construct</a>(array $configuration)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task_pipeline.html">TaskPipeline</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task_pipeline.html#a2f9436b74bc78902e2912420f47e3243">addTask</a>(string $id, string $taskClassName, array $configuration)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task_pipeline.html">TaskPipeline</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task_pipeline.html#ae072bf83b5456bbf5dc76bc8469436dc">create</a>(array $configuration=[])</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task_pipeline.html">TaskPipeline</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
<tr><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task_pipeline.html#ae0ff57151e10c5880a92a5d57f84d05d">getAllTasks</a>()</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task_pipeline.html">TaskPipeline</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task_pipeline.html#a4117840d41f973653b057d934c53f616">getTask</a>(string $id)</td><td class="entry"><a class="el" href="class_soong_1_1_task_1_1_task_pipeline.html">TaskPipeline</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Soong: TaskPipeline Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Soong
</div>
<div id="projectbrief">Soong provides a general-purpose ETL library for data migration.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_soong_1_1_task_1_1_task_pipeline.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>