| 1 | package Boxer::Part::Reclass; | ||
| 2 | |||
| 3 | =encoding UTF-8 | ||
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | Boxer::Part::Reclass - software component as a reclass node or class | ||
| 8 | |||
| 9 | =cut | ||
| 10 | |||
| 11 | 6 | ▶ | use v5.14; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 6 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 6 | ▶ | use Role::Commons -all; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 6 | ▶ | use namespace::autoclean 0.16; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 6 | ▶ | use autodie; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | 6 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 6 | ▶ | use MooX::StrictConstructor; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 6 | extends qw(Boxer::Part); | |
| 20 | |||
| 21 | 6 | ▶ | use Types::Standard qw(Str Maybe ArrayRef HashRef); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 6 | ▶ | use Boxer::Types qw( Suite ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | |||
| 24 | 6 | ▶ | use strictures 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | 6 | ▶ | no warnings "experimental::signatures"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 26 | |||
| 27 | =head1 VERSION | ||
| 28 | |||
| 29 | Version v1.4.3 | ||
| 30 | |||
| 31 | =cut | ||
| 32 | |||
| 33 | 6 | our $VERSION = "v1.4.3"; | |
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Outside the box is a World of software, | ||
| 38 | consisting of parts. | ||
| 39 | |||
| 40 | B<Boxer::Part::Reclass> represents a part of a L<Boxer::World> | ||
| 41 | structured as a B<reclass> node or class. | ||
| 42 | |||
| 43 | =head1 SEE ALSO | ||
| 44 | |||
| 45 | L<Boxer>. | ||
| 46 | |||
| 47 | =cut | ||
| 48 | |||
| 49 | 6 | has id => ( | |
| 50 | is => 'ro', | ||
| 51 | isa => Str, | ||
| 52 | ); | ||
| 53 | |||
| 54 | 6 | has classes => ( | |
| 55 | is => 'ro', | ||
| 56 | isa => Maybe [ ArrayRef [Str] ], | ||
| 57 | ); | ||
| 58 | |||
| 59 | 6 | has doc => ( | |
| 60 | is => 'ro', | ||
| 61 | isa => HashRef, | ||
| 62 | ); | ||
| 63 | |||
| 64 | 6 | has pkg => ( | |
| 65 | is => 'ro', | ||
| 66 | isa => ArrayRef [Str], | ||
| 67 | ); | ||
| 68 | |||
| 69 | 6 | has 'pkg-auto' => ( | |
| 70 | is => 'ro', | ||
| 71 | isa => ArrayRef [Str], | ||
| 72 | ); | ||
| 73 | |||
| 74 | 6 | has 'pkg-avoid' => ( | |
| 75 | is => 'ro', | ||
| 76 | isa => ArrayRef [Str], | ||
| 77 | ); | ||
| 78 | |||
| 79 | 6 | has 'pkg-nonfree' => ( | |
| 80 | is => 'ro', | ||
| 81 | isa => ArrayRef [Str], | ||
| 82 | ); | ||
| 83 | |||
| 84 | 6 | has 'pkg-nonfree-auto' => ( | |
| 85 | is => 'ro', | ||
| 86 | isa => ArrayRef [Str], | ||
| 87 | ); | ||
| 88 | |||
| 89 | 6 | has bug => ( | |
| 90 | is => 'ro', | ||
| 91 | isa => ArrayRef [Str], | ||
| 92 | ); | ||
| 93 | |||
| 94 | 6 | has tweak => ( | |
| 95 | is => 'ro', | ||
| 96 | isa => ArrayRef [Str], | ||
| 97 | ); | ||
| 98 | |||
| 99 | 6 | has epoch => ( | |
| 100 | is => 'ro', | ||
| 101 | isa => Suite, | ||
| 102 | ); | ||
| 103 | |||
| 104 | =head1 AUTHOR | ||
| 105 | |||
| 106 | Jonas Smedegaard C<< <dr@jones.dk> >>. | ||
| 107 | |||
| 108 | =cut | ||
| 109 | |||
| 110 | 6 | our $AUTHORITY = 'cpan:JONASS'; | |
| 111 | |||
| 112 | =head1 COPYRIGHT AND LICENCE | ||
| 113 | |||
| 114 | Copyright © 2016 Jonas Smedegaard | ||
| 115 | |||
| 116 | This is free software; you can redistribute it and/or modify it under | ||
| 117 | the same terms as the Perl 5 programming language system itself. | ||
| 118 | |||
| 119 | =head1 DISCLAIMER OF WARRANTIES | ||
| 120 | |||
| 121 | THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED | ||
| 122 | WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF | ||
| 123 | MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
| 124 | |||
| 125 | =cut | ||
| 126 | |||
| 127 | 6 | 1; | |