NAME
Gruntmaster::Data::Result::Job - List of jobs
TABLE: jobs
ACCESSORS
id
data_type: 'integer'
is_auto_increment: 1
is_nullable: 0
sequence: 'jobs_id_seq'
contest
data_type: 'text'
is_foreign_key: 1
is_nullable: 1
daemon
data_type: 'text'
is_nullable: 1
hostname:PID of daemon that last executed this job. NULL if never executed
date
data_type: 'bigint'
is_nullable: 0
Unix time when job was submitted
errors
data_type: 'text'
is_nullable: 1
Compiler errors
extension
data_type: 'text'
is_nullable: 0
File extension of submitted program, without a leading dot
format
data_type: 'text'
is_nullable: 0
Format (programming language) of submitted program
private
data_type: 'boolean'
default_value: false
is_nullable: 0
problem
data_type: 'text'
is_foreign_key: 1
is_nullable: 0
result
data_type: 'integer'
is_nullable: 1
Job result (integer constant from Gruntmaster::Daemon::Constants)
result_text
data_type: 'text'
is_nullable: 1
Job result (human-readable text)
results
data_type: 'text'
is_nullable: 1
Per-test results (JSON array of hashes with keys id (test number, counting from 1), result (integer constant from Gruntmaster::Daemon::Constants), result_text (human-readable text), time (execution time in decimal seconds))
source
data_type: 'text'
is_nullable: 0
owner
data_type: 'text'
is_foreign_key: 1
is_nullable: 0
PRIMARY KEY
RELATIONS
contest
Type: belongs_to
Related object: Gruntmaster::Data::Result::Contest
owner
Type: belongs_to
Related object: Gruntmaster::Data::Result::User
problem
Type: belongs_to
Related object: Gruntmaster::Data::Result::Problem
problem_statuses
Type: has_many
Related object: Gruntmaster::Data::Result::ProblemStatus
METHODS
rerun
Reruns this job.
AUTHOR
Marius Gavrilescu <marius@ieval.ro>
COPYRIGHT AND LICENSE
Copyright (C) 2014 by Marius Gavrilescu
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.1 or, at your option, any later version of Perl 5 you may have available.