use strict;
use warnings;
use Module::Pluggable
search_path => "Hydra::Plugin",
instantiate => 'new';
{
my ($class, %args) = @_;
my $self = { db => $args{ }, config => $args{ }, plugins => $args{ } };
bless $self, $class;
return $self;
}
{
return 1;
}
{
my ($class, %args) = @_;
my $plugins = [];
$args{ } = $plugins;
push @$plugins, grep { $_->isEnabled } $class->plugins(%args);
return @$plugins;
}
{
my ($self, $inputTypes) = @_;
}
{
my ($self, $type, $name, $value, $project, $jobset) = @_;
return undef;
}
{
my ($self, $type, $value, $rev1, $rev2) = @_;
return [];
}
1;