File Coverage

lib/JIRA/REST/Class/FactoryTypes.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package JIRA::REST::Class::FactoryTypes;
2 5     5   718353 use parent qw( Exporter );
  5         28  
  5         32  
3 5     5   241 use strict;
  5         8  
  5         76  
4 5     5   19 use warnings;
  5         8  
  5         107  
5 5     5   74 use 5.010;
  5         13  
6              
7             our $VERSION = '0.12';
8             our $SOURCE = 'CPAN';
9             ## $SOURCE = 'GitHub'; # COMMENT
10             # the line above will be commented out by Dist::Zilla
11              
12             #ABSTRACT: The module that exports the list of object types in the L<JIRA::REST::Class|JIRA::REST::Class> module to L<JIRA::REST::Class::Factory|JIRA::REST::Class::Factory> and the testing code.
13              
14             #pod =head1 DESCRIPTION
15             #pod
16             #pod The sole purpose of this module is to have a single point of modification
17             #pod for the hash that defines short names for the object types.
18             #pod
19             #pod =cut
20              
21             our @EXPORT_OK = qw( %TYPES );
22              
23             #pod =head2 %TYPES
24             #pod
25             #pod A hash where the keys map to the full names of the classes of objects in the
26             #pod L<JIRA::REST::Class|JIRA::REST::Class> package.
27             #pod
28             #pod =cut
29              
30             our %TYPES = (
31             class => 'JIRA::REST::Class',
32             factory => 'JIRA::REST::Class::Factory',
33             abstract => 'JIRA::REST::Class::Abstract',
34             issue => 'JIRA::REST::Class::Issue',
35             changelog => 'JIRA::REST::Class::Issue::Changelog',
36             change => 'JIRA::REST::Class::Issue::Changelog::Change',
37             changeitem => 'JIRA::REST::Class::Issue::Changelog::Change::Item',
38             comment => 'JIRA::REST::Class::Issue::Comment',
39             linktype => 'JIRA::REST::Class::Issue::LinkType',
40             status => 'JIRA::REST::Class::Issue::Status',
41             statuscat => 'JIRA::REST::Class::Issue::Status::Category',
42             timetracking => 'JIRA::REST::Class::Issue::TimeTracking',
43             transitions => 'JIRA::REST::Class::Issue::Transitions',
44             transition => 'JIRA::REST::Class::Issue::Transitions::Transition',
45             issuetype => 'JIRA::REST::Class::Issue::Type',
46             worklog => 'JIRA::REST::Class::Issue::Worklog',
47             workitem => 'JIRA::REST::Class::Issue::Worklog::Item',
48             project => 'JIRA::REST::Class::Project',
49             projectcat => 'JIRA::REST::Class::Project::Category',
50             projectcomp => 'JIRA::REST::Class::Project::Component',
51             projectvers => 'JIRA::REST::Class::Project::Version',
52             iterator => 'JIRA::REST::Class::Iterator',
53             sprint => 'JIRA::REST::Class::Sprint',
54             query => 'JIRA::REST::Class::Query',
55             user => 'JIRA::REST::Class::User',
56             );
57              
58             1;
59              
60             __END__
61              
62             =pod
63              
64             =encoding UTF-8
65              
66             =for :stopwords Packy Anderson Alexandr Alexey Ciornii Heumann Manni Melezhik
67              
68             =head1 NAME
69              
70             JIRA::REST::Class::FactoryTypes - The module that exports the list of object types in the L<JIRA::REST::Class|JIRA::REST::Class> module to L<JIRA::REST::Class::Factory|JIRA::REST::Class::Factory> and the testing code.
71              
72             =head1 VERSION
73              
74             version 0.12
75              
76             =head1 DESCRIPTION
77              
78             The sole purpose of this module is to have a single point of modification
79             for the hash that defines short names for the object types.
80              
81             =head2 %TYPES
82              
83             A hash where the keys map to the full names of the classes of objects in the
84             L<JIRA::REST::Class|JIRA::REST::Class> package.
85              
86             =head1 RELATED CLASSES
87              
88             =over 2
89              
90             =item * L<JIRA::REST::Class|JIRA::REST::Class>
91              
92             =item * L<JIRA::REST::Class::Abstract|JIRA::REST::Class::Abstract>
93              
94             =item * L<JIRA::REST::Class::Factory|JIRA::REST::Class::Factory>
95              
96             =item * L<JIRA::REST::Class::Issue|JIRA::REST::Class::Issue>
97              
98             =item * L<JIRA::REST::Class::Issue::Changelog|JIRA::REST::Class::Issue::Changelog>
99              
100             =item * L<JIRA::REST::Class::Issue::Changelog::Change|JIRA::REST::Class::Issue::Changelog::Change>
101              
102             =item * L<JIRA::REST::Class::Issue::Changelog::Change::Item|JIRA::REST::Class::Issue::Changelog::Change::Item>
103              
104             =item * L<JIRA::REST::Class::Issue::Comment|JIRA::REST::Class::Issue::Comment>
105              
106             =item * L<JIRA::REST::Class::Issue::LinkType|JIRA::REST::Class::Issue::LinkType>
107              
108             =item * L<JIRA::REST::Class::Issue::Status|JIRA::REST::Class::Issue::Status>
109              
110             =item * L<JIRA::REST::Class::Issue::Status::Category|JIRA::REST::Class::Issue::Status::Category>
111              
112             =item * L<JIRA::REST::Class::Issue::TimeTracking|JIRA::REST::Class::Issue::TimeTracking>
113              
114             =item * L<JIRA::REST::Class::Issue::Transitions|JIRA::REST::Class::Issue::Transitions>
115              
116             =item * L<JIRA::REST::Class::Issue::Transitions::Transition|JIRA::REST::Class::Issue::Transitions::Transition>
117              
118             =item * L<JIRA::REST::Class::Issue::Type|JIRA::REST::Class::Issue::Type>
119              
120             =item * L<JIRA::REST::Class::Issue::Worklog|JIRA::REST::Class::Issue::Worklog>
121              
122             =item * L<JIRA::REST::Class::Issue::Worklog::Item|JIRA::REST::Class::Issue::Worklog::Item>
123              
124             =item * L<JIRA::REST::Class::Iterator|JIRA::REST::Class::Iterator>
125              
126             =item * L<JIRA::REST::Class::Project|JIRA::REST::Class::Project>
127              
128             =item * L<JIRA::REST::Class::Project::Category|JIRA::REST::Class::Project::Category>
129              
130             =item * L<JIRA::REST::Class::Project::Component|JIRA::REST::Class::Project::Component>
131              
132             =item * L<JIRA::REST::Class::Project::Version|JIRA::REST::Class::Project::Version>
133              
134             =item * L<JIRA::REST::Class::Query|JIRA::REST::Class::Query>
135              
136             =item * L<JIRA::REST::Class::Sprint|JIRA::REST::Class::Sprint>
137              
138             =item * L<JIRA::REST::Class::User|JIRA::REST::Class::User>
139              
140             =back
141              
142             =head1 AUTHOR
143              
144             Packy Anderson <packy@cpan.org>
145              
146             =head1 COPYRIGHT AND LICENSE
147              
148             This software is Copyright (c) 2017 by Packy Anderson.
149              
150             This is free software, licensed under:
151              
152             The Artistic License 2.0 (GPL Compatible)
153              
154             =cut