V3/Server/Configuration.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Bb::Collaborate::V3::Server::Configuration;
2 use warnings; use strict;
3  
4 use Mouse;
5  
6 extends 'Elive::DAO::Singleton','Bb::Collaborate::V3';
7  
8 =head1 NAME
9  
10 Bb::Collaborate::V3::Server::Configuration - Server Configuration entity class
11  
12 =cut
13  
14 =head1 DESCRIPTION
15  
16 This class contains important configuration settings.
17  
18 =cut
19  
20 __PACKAGE__->entity_name('ServerConfiguration');
21  
22 =head1 PROPERTIES
23  
24 =head2 boundaryTime (Int)
25  
26 The Owning Administrator's boundary time as set in the ELM session defaults.
27  
28 =cut
29  
30 has 'boundaryTime' => (is => 'rw', isa => 'Int');
31  
32 =head2 maxAvailableTalkers (Int)
33  
34 Your default server's supported maximum simultaneous talkers.
35  
36 =cut
37  
38 has 'maxAvailableTalkers' => (is => 'rw', isa => 'Int');
39  
40 =head2 maxAvailableCameras (Int)
41  
42 Your default server's supported maximum simultaneous cameras.
43  
44 =cut
45  
46 has 'maxAvailableCameras' => (is => 'rw', isa => 'Int');
47  
48 =head2 raiseHandOnEnter (Bool)
49  
50 The Owning Administrator's value for the C<raiseHandOnEnter> flag as set in the ELM session defaults.
51  
52 =cut
53  
54 has 'raiseHandOnEnter' => (is => 'rw', isa => 'Bool');
55  
56 =head2 mayUseTelephony (Bool)
57  
58 A flag that tells whether telephony may be used.
59  
60 =cut
61  
62 has 'mayUseTelephony' => (is => 'rw', isa => 'Bool');
63  
64 =head2 mayUseSecureSignOn (Bool)
65  
66 This parameter does not apply to ELM.
67  
68 =cut
69  
70 has 'mayUseSecureSignOn' => (is => 'rw', isa => 'Bool');
71  
72 =head2 mustReserveSeats
73  
74 A flag value that indicates if the session's Reserved Seats value must be specified when creating a new session.
75  
76 This parameter does not apply to ELM.
77  
78 =cut
79  
80 has 'mustReserveSeats' => (is => 'rw', isa => 'Bool');
81  
82 =head2 timeZone (Str)
83  
84 The time zone for the ELM instance.
85  
86 =cut
87  
88 has 'timeZone' => (is => 'rw', isa => 'Str');
89  
90 =head1 METHODS
91  
92 =cut
93  
94 =head2 get
95  
96 my $server_config = Bb::Collaborate::V3::Server::Configuration->get();
97 print "Server time-zone is: ".$server_config->timeZone."\n";
98  
99 Return the server configuration details.
100  
101 =cut
102  
103 1;