TaskPipe/SchemaManager/Settings_Global.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« TaskPipe/SchemaManager/Settings.pm ↑ Summary TaskPipe/SchemaManager/Settings_Project.pm »
1 package TaskPipe::SchemaManager::Settings_Global;
2  
3 37 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 37 extends 'TaskPipe::SchemaManager::Settings';
5 37 with 'MooseX::ConfigCascade';
6  
7  
8 =head1 NAME
9  
10 TaskPipe::SchemaManager::Settings_Global - global schema settings for TaskPipe
11  
12 =head1 METHODS
13  
14 =over
15  
16 =item table_prefix
17  
18 Table name clashes between taskpipe tables and other tables in your database can be prevented by specifying a table prefix which will be applied to all taskpipe table names
19  
20  
21  
22 =cut
23  
24 37 has table_prefix => (is => 'ro', isa => 'Str', default => '');
25  
26  
27 =item method
28  
29 The database connection method - e.g. dbi
30  
31 =item type
32  
33 The database connection type - e.g. mysql
34  
35 =item database
36  
37 The database of the database to connect to
38  
39 =item host
40  
41 The host to use to connect to your database (e.g. 'localhost')
42  
43 =item username
44  
45 The username to connect to the database
46  
47  
48 =item password
49  
50 The password to connect to the database
51  
52 =item module
53  
54 The package name of the module to use to keep the database schema (e.g. 'MyProject::Schema')
55  
56 =back
57  
58 =cut
59  
60 37 has module => (is => 'ro', isa => 'Str', default => 'TaskPipe::GlobalSchema');
61  
62 =head1 AUTHOR
63  
64 Tom Gracey <tomgracey@gmail.com>
65  
66 =head1 COPYRIGHT AND LICENSE
67  
68 Copyright (c) Tom Gracey 2018
69  
70 TaskPipe is free software, licensed under
71  
72 The GNU Public License Version 3
73  
74 =cut
75  
76  
77 37 __PACKAGE__->meta->make_immutable;
78 37 1;
« TaskPipe/SchemaManager/Settings.pm ↑ Summary TaskPipe/SchemaManager/Settings_Project.pm »