lib/chronicle/etl/job.rb in chronicle-etl-0.4.1 vs lib/chronicle/etl/job.rb in chronicle-etl-0.4.2
- old
+ new
@@ -1,8 +1,13 @@
require 'forwardable'
+
module Chronicle
module ETL
+ # A runner job
+ #
+ # TODO: this can probably be merged with JobDefinition. Not clear
+ # where the boundaries are
class Job
extend Forwardable
def_delegators :@job_definition, :dry_run?
@@ -10,10 +15,11 @@
:extractor_klass,
:extractor_options,
:transformer_klass,
:transformer_options,
:loader_klass,
- :loader_options
+ :loader_options,
+ :job_definition
# TODO: build a proper id system
alias id name
def initialize(job_definition)