Raw content of EnsEMBL::Web::Configuration::Healthcheck
package EnsEMBL::Web::Configuration::Healthcheck;
use strict;
use base qw( EnsEMBL::Web::Configuration );
sub set_default_action {
my $self = shift;
$self->{_data}{default} = 'Summary';
}
sub global_context { return undef; }
sub ajax_content { return undef; }
sub local_context { return $_[0]->_local_context; }
sub local_tools { return $_[0]->_local_tools; }
sub context_panel { return undef; }
sub content_panel { return $_[0]->_content_panel; }
sub populate_tree {
my $self = shift;
my $release_id = $self->{'object'}->species_defs->ENSEMBL_VERSION;
$self->create_node( 'Summary', "Healthcheck Summary - Release $release_id",
[qw(
session_info EnsEMBL::Web::Component::Healthcheck::SessionInfo
failure_summary EnsEMBL::Web::Component::Healthcheck::FailureSummary
)],
{ 'availability' => 1, 'filters' => [qw(WebAdmin)]}
);
$self->create_node( 'Details', "Healthcheck Details",
[qw(
results EnsEMBL::Web::Component::Healthcheck::DetailsSummary
species_failure EnsEMBL::Web::Component::Healthcheck::FailureReports
)],
{ 'availability' => 1, 'filters' => [qw(WebAdmin)]}
);
$self->create_node( 'Annotation', '', [],
{ 'command' => 'EnsEMBL::Web::Command::Healthcheck::Interface::Annotation',
'no_menu_entry' => 1, 'filters' => [qw(WebAdmin)]}
);
$self->create_node( 'MultiAnnotate', '',
[qw(multi_annotate EnsEMBL::Web::Component::Healthcheck::MultiAnnotate)],
{'no_menu_entry' => 1, 'filters' => [qw(WebAdmin)]}
);
$self->create_node( 'MultiSave', '', [],
{ 'command' => 'EnsEMBL::Web::Command::Healthcheck::MultiSave',
'no_menu_entry' => 1, 'filters' => [qw(WebAdmin)]}
);
}
1;