9 A data container object (the only methods are getters/setters) that corresponds to a row in
'resource_description' table
13 See the NOTICE file distributed with
this work
for additional information
14 regarding copyright ownership.
16 Licensed under the Apache License,
Version 2.0 (the
"License"); you may not use
this file except in compliance with the License.
17 You may obtain a copy of the License at
21 Unless required by applicable law or agreed to in writing, software distributed under the License
22 is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 See the License
for the specific language governing permissions and limitations under the License.
27 Please subscribe to the
Hive mailing list: http:
32 package Bio::EnsEMBL::Hive::ResourceDescription;
37 use base (
'Bio::EnsEMBL::Hive::Storable' );
40 sub unikey { #
override the
default from
Cacheable parent
41 return [
'resource_class',
'meadow_type' ];
47 resource_class_id / resource_class
56 $self->{
'_meadow_type'} = shift @_;
58 return $self->{
'_meadow_type'};
62 sub submission_cmd_args {
66 $self->{
'_submission_cmd_args'} = shift @_;
68 return $self->{
'_submission_cmd_args'} ||
'';
76 $self->{
'_worker_cmd_args'} = shift @_;
78 return $self->{
'_worker_cmd_args'} ||
'';
85 return 'ResourceDescription: ('.$self->resource_class->name.
', '.$self->meadow_type.
')->("'.$self->submission_cmd_args.
'", "'.$self->worker_cmd_args.
'")';