blib/lib/OpusVL/AppKit/Plugin/AppKit/Node.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/OpusVL/AppKit.pm ↑ Summary blib/lib/OpusVL/AppKit/TraitFor/Controller/Login/NewSessionIdOnLogin.pm »
1 package OpusVL::AppKit::Plugin::AppKit::Node;
2  
3 10 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 10 has node_name => ( is => 'rw' , isa => 'Str' , required => 1 );
6  
7 # Controller (if any) linked to this node..
8 10 has controller => ( is => 'rw' , isa => 'Catalyst::Controller' );
9  
10 # Action Path (if any) linked to this node..
11 10 has action_path => ( is => 'rw' , isa => 'Str' );
12  
13 # Array of roles that can access this node..
14 10 has access_only => ( is => 'rw' , isa => 'ArrayRef' );
15  
16 # Hash of attributes..
17 10 has action_attrs => ( is => 'rw' , isa => 'HashRef' );
18  
19 10 has in_feature => ( is => 'rw', isa => 'Bool', required => 1 );
20  
21 # maybe for future use?.... currently being delt with in the Base::Controller::GUI...
22 # has navigation => ( is => 'rw' , isa => 'Int' , default => 0 );
23 # has navigation_name => ( is => 'rw' , isa => 'Str' );
24 # has home_navigation => ( is => 'rw' , isa => 'Int' , default => 0 );
25 # has portlet => ( is => 'rw' , isa => 'Int' , default => 0 );
26 # has portlet_name => ( is => 'rw' , isa => 'Str' );
27  
28 10 1;
29  
30 __END__
« blib/lib/OpusVL/AppKit.pm ↑ Summary blib/lib/OpusVL/AppKit/TraitFor/Controller/Login/NewSessionIdOnLogin.pm »