1TAP::Parser::Scheduler::PJeorbl(3Pprmo)grammers ReferenTcAeP:G:uPiadreser::Scheduler::Job(3pm)
2
3
4
6 TAP::Parser::Scheduler::Job - A single testing job.
7
9 Version 3.17
10
12 use TAP::Parser::Scheduler::Job;
13
15 Represents a single test 'job'.
16
18 Class Methods
19 "new"
20
21 my $job = TAP::Parser::Scheduler::Job->new(
22 $name, $desc
23 );
24
25 Returns a new "TAP::Parser::Scheduler::Job" object.
26
27 "on_finish"
28
29 Register a closure to be called when this job is destroyed.
30
31 "finish"
32
33 Called when a job is complete to unlock it.
34
35 "filename"
36
37 "description"
38
39 "context"
40
41 "as_array_ref"
42
43 For backwards compatibility in callbacks.
44
45 "is_spinner"
46
47 Returns false indicating that this is a real job rather than a
48 'spinner'. Spinners are returned when the scheduler still has pending
49 jobs but can't (because of locking) return one right now.
50
51
52
53perl v5.10.1 2009-06-12 TAP::Parser::Scheduler::Job(3pm)