EMMA Coverage Report (generated Sun Sep 18 11:34:27 PHT 2011)
[all classes][org.apache.maven.continuum.web.action]

COVERAGE SUMMARY FOR SOURCE FILE [ContinuumConfirmAction.java]

nameclass, %method, %block, %line, %
ContinuumConfirmAction.java100% (1/1)7%   (1/14)8%   (6/71)8%   (2/26)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ContinuumConfirmAction100% (1/1)7%   (1/14)8%   (6/71)8%   (2/26)
getAction (): String 0%   (0/1)0%   (0/3)0%   (0/1)
getConfirmationTitle (): String 0%   (0/1)0%   (0/3)0%   (0/1)
getConfirmedDisplay (): String 0%   (0/1)0%   (0/3)0%   (0/1)
getConfirmedName (): String 0%   (0/1)0%   (0/3)0%   (0/1)
getConfirmedValue (): String 0%   (0/1)0%   (0/3)0%   (0/1)
isConfirmed (): boolean 0%   (0/1)0%   (0/3)0%   (0/1)
setAction (String): void 0%   (0/1)0%   (0/4)0%   (0/2)
setConfirmationInfo (String, String, String, String, String): void 0%   (0/1)0%   (0/23)0%   (0/6)
setConfirmationTitle (String): void 0%   (0/1)0%   (0/4)0%   (0/2)
setConfirmed (boolean): void 0%   (0/1)0%   (0/4)0%   (0/2)
setConfirmedDisplay (String): void 0%   (0/1)0%   (0/4)0%   (0/2)
setConfirmedName (String): void 0%   (0/1)0%   (0/4)0%   (0/2)
setConfirmedValue (String): void 0%   (0/1)0%   (0/4)0%   (0/2)
ContinuumConfirmAction (): void 100% (1/1)100% (6/6)100% (2/2)

1package org.apache.maven.continuum.web.action;
2 
3/*
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 */
21 
22public class ContinuumConfirmAction
23    extends ContinuumActionSupport
24{
25 
26    public static final String CONFIRM = "confirm";
27 
28    protected boolean confirmed = false;
29 
30    protected String confirmedDisplay;
31 
32    protected String confirmationTitle;
33 
34    protected String confirmedName;
35 
36    protected String confirmedValue;
37 
38    protected String action;
39 
40    protected void setConfirmationInfo( String title, String actionName, String displayString, String propertyName,
41                                        String propertyValue )
42    {
43        action = actionName;
44        confirmationTitle = title;
45        confirmedDisplay = displayString;
46        confirmedName = propertyName;
47        confirmedValue = "" + propertyValue;
48    }
49 
50    // setters and getters
51 
52    public void setConfirmedName( String name )
53    {
54        confirmedName = name;
55    }
56 
57    public String getConfirmedName()
58    {
59        return confirmedName;
60    }
61 
62    public void setConfirmedValue( String value )
63    {
64        confirmedValue = value;
65    }
66 
67    public String getConfirmedValue()
68    {
69        return confirmedValue;
70    }
71 
72    public void setConfirmationTitle( String title )
73    {
74        confirmationTitle = title;
75    }
76 
77    public String getConfirmationTitle()
78    {
79        return confirmationTitle;
80    }
81 
82    public void setConfirmedDisplay( String display )
83    {
84        confirmedDisplay = display;
85    }
86 
87    public String getConfirmedDisplay()
88    {
89        return confirmedDisplay;
90    }
91 
92    public void setConfirmed( boolean confirmed )
93    {
94        this.confirmed = confirmed;
95    }
96 
97    public boolean isConfirmed()
98    {
99        return confirmed;
100    }
101 
102    public void setAction( String action )
103    {
104        this.action = action;
105    }
106 
107    public String getAction()
108    {
109        return action;
110    }
111 
112}

[all classes][org.apache.maven.continuum.web.action]
EMMA 2.0.5312 (C) Vladimir Roubtsov