EMMA Coverage Report (generated Wed Feb 13 07:49:24 ICT 2008)
[all classes][net.sourceforge.hiveboard.docking]

COVERAGE SUMMARY FOR SOURCE FILE [Views.java]

nameclass, %method, %block, %line, %
Views.java100% (1/1)100% (6/6)100% (118/118)100% (16/16)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Views100% (1/1)100% (6/6)100% (118/118)100% (16/16)
<static initializer> 100% (1/1)100% (92/92)100% (9/9)
Views (String, int, String): void 100% (1/1)100% (8/8)100% (3/3)
getView (String): Views 100% (1/1)100% (6/6)100% (3/3)
id (): String 100% (1/1)100% (3/3)100% (1/1)
valueOf (String): Views 100% (1/1)100% (5/5)100% (1/1)
values (): Views [] 100% (1/1)100% (4/4)100% (1/1)

1//  Copyright 2004-2007 Jean-Francois Poilpret
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14 
15package net.sourceforge.hiveboard.docking;
16 
17public enum Views
18{
19        BOARDS_LIST                        ("boards-list-view"),
20        ACCOUNTS_LIST                ("accounts-list-view"),
21        PARTICIPANTS_LIST        ("participants-list-view"),
22        BOARD_AREA                        ("board-area-view"),
23        COMMENTS_LIST                ("comments-list-view"),
24        NOTIFICATIONS_LIST        ("notifications-list-view"),
25        BOARD_DETAIL                ("board-detail-view"),
26        ACCOUNT_DETAIL                ("account-detail-view");
27        
28        Views(String id)
29        {
30                _id = id;
31        }
32        
33        public String        id()
34        {
35                return _id;
36        }
37 
38        static public Views        getView(String value)
39        {
40                try
41                {
42                        return valueOf(value);
43                }
44                catch (IllegalArgumentException e)
45                {
46                        return null;
47                }
48        }
49 
50        private final String        _id;
51}

[all classes][net.sourceforge.hiveboard.docking]
EMMA 2.0.5312 (C) Vladimir Roubtsov