line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Stepford::FinalStep; |
2
|
|
|
|
|
|
|
|
3
|
39
|
|
|
39
|
|
254
|
use strict; |
|
39
|
|
|
|
|
536
|
|
|
39
|
|
|
|
|
1018
|
|
4
|
39
|
|
|
39
|
|
188
|
use warnings; |
|
39
|
|
|
|
|
54
|
|
|
39
|
|
|
|
|
904
|
|
5
|
39
|
|
|
39
|
|
428
|
use namespace::autoclean; |
|
39
|
|
|
|
|
65
|
|
|
39
|
|
|
|
|
184
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.006000'; |
8
|
|
|
|
|
|
|
|
9
|
39
|
|
|
39
|
|
2997
|
use Moose; |
|
39
|
|
|
|
|
111
|
|
|
39
|
|
|
|
|
340
|
|
10
|
39
|
|
|
39
|
|
263411
|
use MooseX::StrictConstructor; |
|
39
|
|
|
|
|
774645
|
|
|
39
|
|
|
|
|
128
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
with 'Stepford::Role::Step'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# We always want this step to run |
15
|
|
|
|
|
|
|
sub last_run_time { |
16
|
|
|
|
|
|
|
## no critic (Subroutines::ProhibitExplicitReturnUndef) |
17
|
122
|
|
|
122
|
0
|
3120
|
return undef; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub run { |
21
|
73
|
|
|
73
|
0
|
214
|
my $self = shift; |
22
|
|
|
|
|
|
|
|
23
|
73
|
|
|
|
|
2129
|
$self->logger->info('Completed execution'); |
24
|
|
|
|
|
|
|
|
25
|
73
|
|
|
|
|
2700
|
return; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
# ABSTRACT: The final step for all Stepford runs |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=pod |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=encoding UTF-8 |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 NAME |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Stepford::FinalStep - The final step for all Stepford runs |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 VERSION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
version 0.006000 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 DESCRIPTION |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This step just logs the message "Completed execution". It is always run as the |
51
|
|
|
|
|
|
|
last step when calling C<run> on a L<Stepford::Runner> object. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=for Pod::Coverage .* |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 SUPPORT |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Bugs may be submitted through L<https://github.com/maxmind/Stepford/issues>. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 AUTHOR |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Dave Rolsky <drolsky@maxmind.com> |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
This software is copyright (c) 2014 - 2019 by MaxMind, Inc. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
68
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=cut |