package HPCD::uni::Run;

### INCLUDES ######################################################################################

# safe Perl
use warnings;
use strict;
use Carp;

use Moose;

with 'HPCI::Run' => { theDriver => 'HPCD::uni' };

has 'stats_keys' => (
	is => 'ro',
	isa => 'ArrayRef[Str]',
	init_arg => undef,
	default  => sub { [ ] },
);

sub _collect_job_stats {
	my $self   = shift;
	my $status = shift;

	my $stath  = $self->stats;
	$stath->{exit_status} = $status;
}

1;
