NAME

POE::Component::SmokeBox::Job - Object defining a SmokeBox job.

SYNOPSIS

  use POE::Component::SmokeBox::Job;

  my $job = POE::Component::SmokeBox::Job->new(
	type    => 'CPANPLUS::YACSmoke',
	command => 'smoke',
	module  => 'B/BI/BINGOS/Acme-POE-Acronym-Generator-1.14.tar.gz',
  );

DESCRIPTION

POE::Component::SmokeBox::Job is a class encapsulating POE::Component::SmokeBox jobs.

CONSTRUCTOR

new

Creates a new POE::Component::SmokeBox::Job object. Takes a number of parameters:

'idle', number of seconds before jobs are killed for idling, default 600;
'timeout', number of seconds before jobs are killed for excess runtime, default 3600;
'type', the type of backend to use, default is 'CPANPLUS::YACSmoke';
'command', the command to run, 'check', 'index' or 'smoke', default is 'check';
'module', the distribution to smoke, mandatory if command is 'smoke';

METHODS

Accessor methods are provided via Object::Accessor.

idle

Number of seconds before jobs are killed for idling, default 600.

timeout

Number of seconds before jobs are killed for excess runtime, default 3600

type

The type of backend to use, default is 'CPANPLUS::YACSmoke'.

command

The command to run, 'check', 'index' or 'smoke', default is 'check'.

module

The distribution to smoke, mandatory if command is 'smoke'.

dump_data

Returns all the data contained in the object as a list.

AUTHOR

Chris BinGOs Williams

LICENSE

Copyright (C) Chris Williams

This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.

SEE ALSO

POE::Component::SmokeBox

POE::Component::SmokeBox::JobQueue

Object::Accessor