The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Gruntmaster::Data::Result::Problem

TABLE: problems

ACCESSORS

id

  data_type: 'text'
  is_nullable: 0

author

  data_type: 'text'
  is_nullable: 1

writer

  data_type: 'text'
  is_nullable: 1

generator

  data_type: 'text'
  is_nullable: 0

judge

  data_type: 'text'
  is_nullable: 0

level

  data_type: 'text'
  is_nullable: 0

name

  data_type: 'text'
  is_nullable: 0

olimit

  data_type: 'integer'
  is_nullable: 1

owner

  data_type: 'text'
  is_foreign_key: 1
  is_nullable: 0

private

  data_type: 'boolean'
  default_value: false
  is_nullable: 0

runner

  data_type: 'text'
  is_nullable: 0

statement

  data_type: 'text'
  is_nullable: 0

testcnt

  data_type: 'integer'
  is_nullable: 0

tests

  data_type: 'text'
  is_nullable: 1

timeout

  data_type: 'real'
  is_nullable: 0

value

  data_type: 'integer'
  is_nullable: 1

genformat

  data_type: 'text'
  is_nullable: 1

gensource

  data_type: 'text'
  is_nullable: 1

verformat

  data_type: 'text'
  is_nullable: 1

versource

  data_type: 'text'
  is_nullable: 1

PRIMARY KEY

RELATIONS

contest_problems

Type: has_many

Related object: Gruntmaster::Data::Result::ContestProblem

jobs

Type: has_many

Related object: Gruntmaster::Data::Result::Job

opens

Type: has_many

Related object: Gruntmaster::Data::Result::Open

owner

Type: belongs_to

Related object: Gruntmaster::Data::Result::User

contests

Type: many_to_many

Composing rels: "contest_problems" -> contest

METHODS

is_private([$time])

Returns true if the problem is private at time $time (which defaults to time).

is_in_archive([$time])

Returns true if the problem is in the archive at time $time (which defaults to time).

rerun

Reruns all jobs for this problem.

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.