NAME
ETLp::ItemBuilder - Builds the pipeline of items to execute
DESCRIPTION
The pipeline is effectivey an array of anonymous methods that will be called when the pipline execution begins
METHODS
new
parameters
* plugins: Required. A hashref of item types types and the name of
the plugin that executes that type
* pipeline_type: Required. Either "iteration" or "serial"
* include_env: Optional. Whether the environment variables should be
substituted into the configuration. Defaults to false (0)
* env_config: Optional The environment variables (a hashref)
* app_root: Required. The application root directory
returns
an ETLp::ItemBuilder object
build_pipeline
Build an array of the pipeline items
parameters
* void
returns
An arrayref of Item hashrefs. Each hashref consists of the following keys:
* name. The name of the item
* type. The type of the item
* plugin. The plugin that will execute the pipeline item
* sub. An anonymous subroutine that executes the pipeline item
* item. The original item hash (minus the name and type)
* parsed_item. The item hash with the placeholders
ROLES CONSUMED
* ETLp::Role::Config
LICENSE AND COPYRIGHT
Copyright 2010 Redbone Systems Ltd
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
The terms are in the LICENSE file that accompanies this application