
Test::AutoBuild::Output - Generates post build output

use Test::AutoBuild::Output
my $output = Test::AutoBuild::Output->new(name => $name,
label => $label,
[options => \%options,]
[start_time => $time]);
my $name = $output->name([$newname]);
my $label = $output->label([$newlabel]);
my $time = $output->startTime([$newtime]);
my $value = $output->option([$newvalue]);
$output->process();

This module is used to generate post-build output such as HTML pages, email alerts. Subclasses must implement the process method to perform whatever processing they require.

The valid configuration options for the output block are

my $output = Test::AutoBuild::Output->new(name => $name, label => $label, [options => \%options,] [start_time => $time]);
Creates a new output module. This constructor is only really useful to subclasses, since the
processmethod on this base class is virtual.nameis the alphanumeric token for the module name.labelis the free text human friendly title of the module.optionsis a hash ref containing module specific configuration options.start_timeis the time at which the build cycle began.my $name = $output->new([$newname]);
Retrieves the name of the output module, which is an alphanumeric token. If the
newnameparameter is supplied the name is updated.my $value = $output->option($name[, $newvalue]);
Retrieves the option value corresponding to the
nameparameter. If thenewvalueparameter is supplied, then the option value is updated.my $label = $output->label([$newlabel]);
Retrieves the label for this output module, a free text, human friendly title for the module. If the
newlabelparameter is supplied the label is updated.my $time = $output->start_time([$newtime]);
Retrieves the time at which the build cycle was started. If the
newtimeparameter is supplied the start time is updated.$output->process(\%modules, \%groups, \%repositories, \%packageTypes);
Runs the output module.
modulesis a hash ref of all code modules, whose keys are module names & values are instances of Test::AutoBuild::Module.groupsis a hash ref of all groups whose keys are group names & values are instances of Test::AutoBuild::Group.repositoriesis a hash ref of code repositories whose keys are repository names and values are instances of Test::AutoBuild::Repository.pacakgeTypesis a hash ref of package types whose keys are names and values are instances of Test::AutoBuild::PackageType

Daniel Berrange <dan@berrange.com>

Copyright (C) 2002-2004 Daniel Berrange <dan@berrange.com>
