move status tracking and checking inside job instance

This commit is contained in:
Oliver Gorwits
2017-11-06 21:26:01 +00:00
parent 4436150bf4
commit 25907d3544
8 changed files with 165 additions and 100 deletions

View File

@@ -11,10 +11,9 @@ use namespace::clean;
has 'status' => (
is => 'rw',
default => undef,
clearer => 1,
);
has 'log' => (
has ['log', 'phase', 'namespace', 'priority'] => (
is => 'rw',
default => '',
);