NAME

ETLp::Audit::Job - audit the execution of an ETLp job

DESCRIPTION

This class is used to manage the job's audit record

ATTRIBUTES

The attributes are populated during instantiation, and should not be provided at object creation time

id

The Job identifier

session_id

The database session associated with the job

item

The currently executing item

METHODS

create_item

Create an audit item

parameters (Hash)

* Str name: Name of the item
* Str type: The item type
* Str phase: The item phase

returns

* An ETLp::Audit::Item

update_status

Update the job's status

parameters

* status_name: The name of the status

returns

* void

update_message

Update the audit message

parameters

* message: The message associated with the Job

returns

* void

update

Update the audit record date

parameters

* message: The message associated with the Job

returns

* void

ROLES CONSUMED

* ETLp::Role::Config
* ETLp::Role::Schema

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