2011-12-05 14:29:29 +01:00
|
|
|
use utf8;
|
2021-08-26 12:03:00 -04:00
|
|
|
package Hydra::Schema::Result::Jobsets;
|
2008-11-04 18:23:28 +00:00
|
|
|
|
2009-10-23 15:05:16 +00:00
|
|
|
# Created by DBIx::Class::Schema::Loader
|
|
|
|
# DO NOT MODIFY THE FIRST PART OF THIS FILE
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
=head1 NAME
|
|
|
|
|
2021-08-26 12:03:00 -04:00
|
|
|
Hydra::Schema::Result::Jobsets
|
2011-12-05 14:29:29 +01:00
|
|
|
|
|
|
|
=cut
|
|
|
|
|
2008-11-04 18:23:28 +00:00
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
2010-02-25 09:50:04 +00:00
|
|
|
use base 'DBIx::Class::Core';
|
|
|
|
|
2013-06-17 12:34:21 -04:00
|
|
|
=head1 COMPONENTS LOADED
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item * L<Hydra::Component::ToJSON>
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=cut
|
|
|
|
|
|
|
|
__PACKAGE__->load_components("+Hydra::Component::ToJSON");
|
|
|
|
|
2020-02-06 12:23:47 -05:00
|
|
|
=head1 TABLE: C<jobsets>
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
=cut
|
2008-11-04 18:23:28 +00:00
|
|
|
|
2020-02-06 12:23:47 -05:00
|
|
|
__PACKAGE__->table("jobsets");
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
=head1 ACCESSORS
|
|
|
|
|
|
|
|
=head2 name
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 0
|
|
|
|
|
2020-02-05 14:06:21 -05:00
|
|
|
=head2 id
|
|
|
|
|
|
|
|
data_type: 'integer'
|
|
|
|
is_auto_increment: 1
|
|
|
|
is_nullable: 0
|
|
|
|
sequence: 'jobsets_id_seq'
|
|
|
|
|
2010-02-25 09:50:04 +00:00
|
|
|
=head2 project
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_foreign_key: 1
|
|
|
|
is_nullable: 0
|
|
|
|
|
|
|
|
=head2 description
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 1
|
|
|
|
|
|
|
|
=head2 nixexprinput
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2020-02-09 15:17:24 -05:00
|
|
|
is_nullable: 1
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
=head2 nixexprpath
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2020-02-09 15:17:24 -05:00
|
|
|
is_nullable: 1
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
=head2 errormsg
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 1
|
|
|
|
|
|
|
|
=head2 errortime
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'integer'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 1
|
|
|
|
|
|
|
|
=head2 lastcheckedtime
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'integer'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 1
|
|
|
|
|
2013-02-25 21:04:10 +01:00
|
|
|
=head2 triggertime
|
|
|
|
|
|
|
|
data_type: 'integer'
|
|
|
|
is_nullable: 1
|
|
|
|
|
2010-02-25 09:50:04 +00:00
|
|
|
=head2 enabled
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'integer'
|
2010-02-25 09:50:04 +00:00
|
|
|
default_value: 1
|
|
|
|
is_nullable: 0
|
|
|
|
|
|
|
|
=head2 enableemail
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'integer'
|
2010-02-25 09:50:04 +00:00
|
|
|
default_value: 1
|
|
|
|
is_nullable: 0
|
|
|
|
|
2010-06-04 14:43:28 +00:00
|
|
|
=head2 hidden
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'integer'
|
2010-06-04 14:43:28 +00:00
|
|
|
default_value: 0
|
|
|
|
is_nullable: 0
|
|
|
|
|
2010-02-25 09:50:04 +00:00
|
|
|
=head2 emailoverride
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'text'
|
2010-02-25 09:50:04 +00:00
|
|
|
is_nullable: 0
|
|
|
|
|
2010-08-10 06:48:45 +00:00
|
|
|
=head2 keepnr
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
data_type: 'integer'
|
2010-08-10 06:48:45 +00:00
|
|
|
default_value: 3
|
|
|
|
is_nullable: 0
|
|
|
|
|
2013-05-02 17:51:38 +02:00
|
|
|
=head2 checkinterval
|
|
|
|
|
|
|
|
data_type: 'integer'
|
|
|
|
default_value: 300
|
|
|
|
is_nullable: 0
|
|
|
|
|
2013-09-21 14:47:52 +00:00
|
|
|
=head2 schedulingshares
|
|
|
|
|
|
|
|
data_type: 'integer'
|
|
|
|
default_value: 100
|
|
|
|
is_nullable: 0
|
|
|
|
|
2013-09-25 16:21:16 +02:00
|
|
|
=head2 fetcherrormsg
|
|
|
|
|
|
|
|
data_type: 'text'
|
|
|
|
is_nullable: 1
|
|
|
|
|
2016-10-24 20:20:20 +02:00
|
|
|
=head2 forceeval
|
|
|
|
|
|
|
|
data_type: 'boolean'
|
|
|
|
is_nullable: 1
|
|
|
|
|
2017-03-13 16:19:22 +01:00
|
|
|
=head2 starttime
|
|
|
|
|
|
|
|
data_type: 'integer'
|
|
|
|
is_nullable: 1
|
|
|
|
|
2020-02-09 15:17:24 -05:00
|
|
|
=head2 type
|
|
|
|
|
|
|
|
data_type: 'integer'
|
|
|
|
default_value: 0
|
|
|
|
is_nullable: 0
|
|
|
|
|
|
|
|
=head2 flake
|
|
|
|
|
|
|
|
data_type: 'text'
|
|
|
|
is_nullable: 1
|
|
|
|
|
2010-02-25 09:50:04 +00:00
|
|
|
=cut
|
|
|
|
|
2010-01-06 13:07:59 +00:00
|
|
|
__PACKAGE__->add_columns(
|
|
|
|
"name",
|
2020-02-06 12:23:47 -05:00
|
|
|
{ data_type => "text", is_nullable => 0 },
|
2020-02-05 14:06:21 -05:00
|
|
|
"id",
|
|
|
|
{
|
|
|
|
data_type => "integer",
|
|
|
|
is_auto_increment => 1,
|
|
|
|
is_nullable => 0,
|
|
|
|
sequence => "jobsets_id_seq",
|
|
|
|
},
|
2010-01-06 13:07:59 +00:00
|
|
|
"project",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "text", is_foreign_key => 1, is_nullable => 0 },
|
2010-01-06 13:07:59 +00:00
|
|
|
"description",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "text", is_nullable => 1 },
|
2010-01-06 13:07:59 +00:00
|
|
|
"nixexprinput",
|
2020-02-09 15:17:24 -05:00
|
|
|
{ data_type => "text", is_nullable => 1 },
|
2010-01-06 13:07:59 +00:00
|
|
|
"nixexprpath",
|
2020-02-09 15:17:24 -05:00
|
|
|
{ data_type => "text", is_nullable => 1 },
|
2010-01-06 13:07:59 +00:00
|
|
|
"errormsg",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "text", is_nullable => 1 },
|
2010-01-06 13:07:59 +00:00
|
|
|
"errortime",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "integer", is_nullable => 1 },
|
2010-01-06 13:07:59 +00:00
|
|
|
"lastcheckedtime",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "integer", is_nullable => 1 },
|
2013-02-25 21:04:10 +01:00
|
|
|
"triggertime",
|
|
|
|
{ data_type => "integer", is_nullable => 1 },
|
2010-01-06 13:07:59 +00:00
|
|
|
"enabled",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "integer", default_value => 1, is_nullable => 0 },
|
2010-01-06 13:07:59 +00:00
|
|
|
"enableemail",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "integer", default_value => 1, is_nullable => 0 },
|
2010-06-04 14:43:28 +00:00
|
|
|
"hidden",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "integer", default_value => 0, is_nullable => 0 },
|
2010-01-06 13:07:59 +00:00
|
|
|
"emailoverride",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "text", is_nullable => 0 },
|
2010-08-10 06:48:45 +00:00
|
|
|
"keepnr",
|
2011-12-05 14:29:29 +01:00
|
|
|
{ data_type => "integer", default_value => 3, is_nullable => 0 },
|
2013-05-02 17:51:38 +02:00
|
|
|
"checkinterval",
|
|
|
|
{ data_type => "integer", default_value => 300, is_nullable => 0 },
|
2013-09-21 14:47:52 +00:00
|
|
|
"schedulingshares",
|
|
|
|
{ data_type => "integer", default_value => 100, is_nullable => 0 },
|
2013-09-25 16:21:16 +02:00
|
|
|
"fetcherrormsg",
|
|
|
|
{ data_type => "text", is_nullable => 1 },
|
2016-10-24 20:20:20 +02:00
|
|
|
"forceeval",
|
|
|
|
{ data_type => "boolean", is_nullable => 1 },
|
2017-03-13 16:19:22 +01:00
|
|
|
"starttime",
|
|
|
|
{ data_type => "integer", is_nullable => 1 },
|
2020-02-09 15:17:24 -05:00
|
|
|
"type",
|
|
|
|
{ data_type => "integer", default_value => 0, is_nullable => 0 },
|
|
|
|
"flake",
|
|
|
|
{ data_type => "text", is_nullable => 1 },
|
2010-01-06 13:07:59 +00:00
|
|
|
);
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
=head1 PRIMARY KEY
|
2010-01-06 13:07:59 +00:00
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
=over 4
|
2010-02-25 09:50:04 +00:00
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
=item * L</project>
|
2010-02-25 09:50:04 +00:00
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
=item * L</name>
|
2010-02-25 09:50:04 +00:00
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
=back
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
=cut
|
2010-01-06 13:07:59 +00:00
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
__PACKAGE__->set_primary_key("project", "name");
|
2010-02-25 09:50:04 +00:00
|
|
|
|
2020-02-05 14:06:21 -05:00
|
|
|
=head1 UNIQUE CONSTRAINTS
|
|
|
|
|
|
|
|
=head2 C<jobsets_id_unique>
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item * L</id>
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=cut
|
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint("jobsets_id_unique", ["id"]);
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
=head1 RELATIONS
|
|
|
|
|
2015-07-31 00:57:30 +02:00
|
|
|
=head2 buildmetrics
|
|
|
|
|
|
|
|
Type: has_many
|
|
|
|
|
2021-08-26 12:03:00 -04:00
|
|
|
Related object: L<Hydra::Schema::Result::BuildMetrics>
|
2015-07-31 00:57:30 +02:00
|
|
|
|
|
|
|
=cut
|
|
|
|
|
|
|
|
__PACKAGE__->has_many(
|
|
|
|
"buildmetrics",
|
2021-08-26 12:03:00 -04:00
|
|
|
"Hydra::Schema::Result::BuildMetrics",
|
2015-07-31 00:57:30 +02:00
|
|
|
{
|
|
|
|
"foreign.jobset" => "self.name",
|
|
|
|
"foreign.project" => "self.project",
|
|
|
|
},
|
|
|
|
undef,
|
|
|
|
);
|
|
|
|
|
2020-02-05 15:11:56 -05:00
|
|
|
=head2 builds_jobset_ids
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
Type: has_many
|
|
|
|
|
2021-08-26 12:03:00 -04:00
|
|
|
Related object: L<Hydra::Schema::Result::Builds>
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
=cut
|
|
|
|
|
2008-11-04 18:23:28 +00:00
|
|
|
__PACKAGE__->has_many(
|
2020-02-05 15:11:56 -05:00
|
|
|
"builds_jobset_ids",
|
2021-08-26 12:03:00 -04:00
|
|
|
"Hydra::Schema::Result::Builds",
|
2020-02-05 15:11:56 -05:00
|
|
|
{ "foreign.jobset_id" => "self.id" },
|
|
|
|
undef,
|
|
|
|
);
|
|
|
|
|
|
|
|
=head2 builds_project_jobsets
|
|
|
|
|
|
|
|
Type: has_many
|
|
|
|
|
2021-08-26 12:03:00 -04:00
|
|
|
Related object: L<Hydra::Schema::Result::Builds>
|
2020-02-05 15:11:56 -05:00
|
|
|
|
|
|
|
=cut
|
|
|
|
|
|
|
|
__PACKAGE__->has_many(
|
|
|
|
"builds_project_jobsets",
|
2021-08-26 12:03:00 -04:00
|
|
|
"Hydra::Schema::Result::Builds",
|
2008-11-06 18:26:29 +00:00
|
|
|
{
|
|
|
|
"foreign.jobset" => "self.name",
|
|
|
|
"foreign.project" => "self.project",
|
|
|
|
},
|
2013-01-22 22:48:02 +01:00
|
|
|
undef,
|
2008-11-04 18:23:28 +00:00
|
|
|
);
|
2010-02-25 09:50:04 +00:00
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
=head2 jobsetevals
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
Type: has_many
|
|
|
|
|
2021-08-26 12:03:00 -04:00
|
|
|
Related object: L<Hydra::Schema::Result::JobsetEvals>
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
=cut
|
|
|
|
|
2009-10-21 12:25:43 +00:00
|
|
|
__PACKAGE__->has_many(
|
2011-12-05 14:29:29 +01:00
|
|
|
"jobsetevals",
|
2021-08-26 12:03:00 -04:00
|
|
|
"Hydra::Schema::Result::JobsetEvals",
|
2021-01-25 14:51:33 -05:00
|
|
|
{ "foreign.jobset_id" => "self.id" },
|
2013-01-22 22:48:02 +01:00
|
|
|
undef,
|
2009-10-21 12:25:43 +00:00
|
|
|
);
|
2010-02-25 09:50:04 +00:00
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
=head2 jobsetinputs
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
Type: has_many
|
|
|
|
|
2021-08-26 12:03:00 -04:00
|
|
|
Related object: L<Hydra::Schema::Result::JobsetInputs>
|
2010-02-25 09:50:04 +00:00
|
|
|
|
|
|
|
=cut
|
|
|
|
|
2009-11-17 13:55:22 +00:00
|
|
|
__PACKAGE__->has_many(
|
2011-12-05 14:29:29 +01:00
|
|
|
"jobsetinputs",
|
2021-08-26 12:03:00 -04:00
|
|
|
"Hydra::Schema::Result::JobsetInputs",
|
2009-11-17 13:55:22 +00:00
|
|
|
{
|
|
|
|
"foreign.jobset" => "self.name",
|
|
|
|
"foreign.project" => "self.project",
|
|
|
|
},
|
2013-01-22 22:48:02 +01:00
|
|
|
undef,
|
2009-11-17 13:55:22 +00:00
|
|
|
);
|
2008-11-04 18:23:28 +00:00
|
|
|
|
2014-04-23 23:12:00 +02:00
|
|
|
=head2 jobsetrenames
|
|
|
|
|
|
|
|
Type: has_many
|
|
|
|
|
2021-08-26 12:03:00 -04:00
|
|
|
Related object: L<Hydra::Schema::Result::JobsetRenames>
|
2014-04-23 23:12:00 +02:00
|
|
|
|
|
|
|
=cut
|
|
|
|
|
|
|
|
__PACKAGE__->has_many(
|
|
|
|
"jobsetrenames",
|
2021-08-26 12:03:00 -04:00
|
|
|
"Hydra::Schema::Result::JobsetRenames",
|
2014-04-23 23:12:00 +02:00
|
|
|
{ "foreign.project" => "self.project", "foreign.to_" => "self.name" },
|
|
|
|
undef,
|
|
|
|
);
|
|
|
|
|
2011-12-05 14:29:29 +01:00
|
|
|
=head2 project
|
|
|
|
|
|
|
|
Type: belongs_to
|
|
|
|
|
2021-08-26 12:03:00 -04:00
|
|
|
Related object: L<Hydra::Schema::Result::Projects>
|
2011-12-05 14:29:29 +01:00
|
|
|
|
|
|
|
=cut
|
|
|
|
|
2013-01-22 22:48:02 +01:00
|
|
|
__PACKAGE__->belongs_to(
|
|
|
|
"project",
|
2021-08-26 12:03:00 -04:00
|
|
|
"Hydra::Schema::Result::Projects",
|
2013-01-22 22:48:02 +01:00
|
|
|
{ name => "project" },
|
|
|
|
{ is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
|
|
|
|
);
|
2011-12-05 14:29:29 +01:00
|
|
|
|
2013-10-14 20:07:26 +02:00
|
|
|
=head2 starredjobs
|
2008-11-04 18:23:28 +00:00
|
|
|
|
2013-10-14 20:07:26 +02:00
|
|
|
Type: has_many
|
|
|
|
|
2021-08-26 12:03:00 -04:00
|
|
|
Related object: L<Hydra::Schema::Result::StarredJobs>
|
2013-10-14 20:07:26 +02:00
|
|
|
|
|
|
|
=cut
|
|
|
|
|
|
|
|
__PACKAGE__->has_many(
|
|
|
|
"starredjobs",
|
2021-08-26 12:03:00 -04:00
|
|
|
"Hydra::Schema::Result::StarredJobs",
|
2013-10-14 20:07:26 +02:00
|
|
|
{
|
|
|
|
"foreign.jobset" => "self.name",
|
|
|
|
"foreign.project" => "self.project",
|
|
|
|
},
|
|
|
|
undef,
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2021-08-26 12:03:00 -04:00
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-26 12:02:36
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iI44C3BFTo6IsS1tBwWYsg
|
2020-02-05 15:11:56 -05:00
|
|
|
|
2021-04-29 08:32:47 -04:00
|
|
|
use JSON;
|
2020-02-05 15:11:56 -05:00
|
|
|
|
|
|
|
=head2 builds
|
|
|
|
|
|
|
|
Type: has_many
|
|
|
|
|
2021-08-26 12:03:00 -04:00
|
|
|
Related object: L<Hydra::Schema::Result::Builds>
|
2020-02-05 15:11:56 -05:00
|
|
|
|
|
|
|
=cut
|
|
|
|
|
|
|
|
__PACKAGE__->has_many(
|
|
|
|
"builds",
|
2021-08-26 12:03:00 -04:00
|
|
|
"Hydra::Schema::Result::Builds",
|
2020-02-05 16:35:39 -05:00
|
|
|
{ "foreign.jobset_id" => "self.id" },
|
2020-02-05 15:11:56 -05:00
|
|
|
undef,
|
|
|
|
);
|
2020-02-05 17:10:50 -05:00
|
|
|
|
2020-02-05 14:06:21 -05:00
|
|
|
__PACKAGE__->add_column(
|
|
|
|
"+id" => { retrieve_on_insert => 1 }
|
|
|
|
);
|
2010-01-06 13:07:59 +00:00
|
|
|
|
2021-04-28 12:41:05 -07:00
|
|
|
sub as_json {
|
|
|
|
my $self = shift;
|
|
|
|
|
|
|
|
my %json = (
|
|
|
|
# columns
|
|
|
|
"errortime" => $self->get_column("errortime"),
|
|
|
|
"lastcheckedtime" => $self->get_column("lastcheckedtime"),
|
|
|
|
"triggertime" => $self->get_column("triggertime"),
|
|
|
|
"enabled" => $self->get_column("enabled"),
|
|
|
|
"keepnr" => $self->get_column("keepnr"),
|
|
|
|
"checkinterval" => $self->get_column("checkinterval"),
|
|
|
|
"schedulingshares" => $self->get_column("schedulingshares"),
|
|
|
|
"starttime" => $self->get_column("starttime"),
|
|
|
|
|
|
|
|
# string_columns
|
|
|
|
"name" => $self->get_column("name") // "",
|
|
|
|
"project" => $self->get_column("project") // "",
|
|
|
|
"description" => $self->get_column("description") // "",
|
|
|
|
"nixexprinput" => $self->get_column("nixexprinput") // "",
|
|
|
|
"nixexprpath" => $self->get_column("nixexprpath") // "",
|
|
|
|
"errormsg" => $self->get_column("errormsg") // "",
|
|
|
|
"emailoverride" => $self->get_column("emailoverride") // "",
|
|
|
|
"fetcherrormsg" => $self->get_column("fetcherrormsg") // "",
|
|
|
|
"type" => $self->get_column("type") // "",
|
|
|
|
"flake" => $self->get_column("flake") // "",
|
|
|
|
|
|
|
|
# boolean_columns
|
|
|
|
"enableemail" => $self->get_column("enableemail") ? JSON::true : JSON::false,
|
|
|
|
"visible" => $self->get_column("hidden") ? JSON::false : JSON::true,
|
|
|
|
|
|
|
|
"inputs" => { map { $_->name => $_ } $self->jobsetinputs }
|
|
|
|
);
|
|
|
|
|
|
|
|
return \%json;
|
2013-10-24 11:01:17 -04:00
|
|
|
}
|
|
|
|
|
2008-11-04 18:23:28 +00:00
|
|
|
1;
|