summaryrefslogtreecommitdiff
blob: 2809698f13f879af8ebd3eb429d62f0bcfe25cb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright (C) 2012 Jolla Ltd.
# Contact: Pami Ketolainen <pami.ketolainen@jollamobile.com>

=head1 NAME

Bugzilla::Extension::AgileTools::Constants

=head1 SYNOPSIS

    use Bugzilla::Extension::AgileTools::Constans

=head1 DESCRIPTION

Constants used by AgileTools extension.

=cut

package Bugzilla::Extension::AgileTools::Constants;
use strict;
use warnings;
use 5.10.1;

use base qw(Exporter);

@Bugzilla::Extension::AgileTools::Constants::EXPORT = qw(
  AGILE_USERS_GROUP
  NON_HUMAN_GROUP

  AGILE_PROCESS_SCRUM
  AGILE_PROCESS_NAMES
);

=head1 CONSTANTS

=head2 General

=over

=item AGILE_USERS_GROUP - Name of the user group allowed to use AgileTools
      *DEPRECATED* use agile_user_group param instead

=cut

use constant AGILE_USERS_GROUP => "AgileTools users";

=item NON_HUMAN_GROUP - Name of the non human user group
      *DEPRECATED* use agile_nonhuman_group param instead

=cut

use constant NON_HUMAN_GROUP => "non_human";

=back

=head2 Process types

=over

=item AGILE_PROCESS_SCRUM - Process type for Scrum

=cut

use constant AGILE_PROCESS_SCRUM => 1;

=item AGILE_PROCESS_NAMES - Process type - name mapping

=cut

use constant AGILE_PROCESS_NAMES => {AGILE_PROCESS_SCRUM, "Scrum",};

1;

__END__

=back