# Copyright 2013-2014 Stefan Goebel. # # This file is part of Newcomen. # # Newcomen is free software: you can redistribute it and/or modify it under the terms of the GNU # General Public License as published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # Newcomen is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along with Newcomen. If not, see # . package Newcomen::Renderer::Specification; our $VERSION = 2014052501; use namespace::autoclean; use Moose '-meta_name' => '_moose_meta'; use MooseX::StrictConstructor; with 'Newcomen::Role::Backend::Specification'; __PACKAGE__ -> _moose_meta () -> make_immutable (); 1; __END__ #################################################################################################### =head1 NAME Newcomen::Renderer::Specification - A renderer backend specification. =head1 SYNOPSIS use Newcomen::Renderer::Specification; my $spec = Newcomen::Renderer::Specification -> new ( 'name' => $backend_name ); # Set some option: $spec -> set (['some', 'option'], 'value'); =head1 DESCRIPTION A renderer backend specification contains a renderer backend name and its options. This is for example used in L instances to store the renderer that should be used for the page. =head1 CLASS METHODS =head2 new my $spec = Newcomen::Renderer::Specification -> new ( 'name' => $backend_name ); Constructor. The name parameter is mandatory, it specifies the renderer backend by its basename (i.e. the module name without the C<'Newcomen::Renderer::'> prefix). The name can not be changed later on. I does not check if a backend by the specified name exists. =head1 INSTANCE METHODS Please see L for a list of instance methods and their description. =head1 SEE ALSO L, L, L, L =head1 VERSION This is version C<2014052501>. =head1 AUTHOR Stefan Goebel - newcomen {at} subtype {dot} de =head1 COPYRIGHT AND LICENSE Copyright 2013-2014 Stefan Goebel. This file is part of Newcomen. Newcomen is free software: you can redistribute it and/or modify it under the terms of the L as published by the L, either version 3 of the license, or (at your option) any later version. Newcomen is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the L for more details. You should have received a copy of the L along with Newcomen. If not, see >. =cut #################################################################################################### # :indentSize=3:tabSize=3:noTabs=true:mode=perl:maxLineLen=100: