Coverage report

  %line %branch
net.sf.infrared.web.formbean.AggrExecTimeFormBean
0% 
0% 

 1  
 /*
 2  
  *
 3  
  * Copyright 2005 Tavant Technologies and Contributors
 4  
  * 
 5  
  * Licensed under the Apache License, Version 2.0 (the "License")
 6  
  * you may not use this file except in compliance with the License.
 7  
  * You may obtain a copy of the License at
 8  
  *
 9  
  *     http://www.apache.org/licenses/LICENSE-2.0
 10  
  *
 11  
  * Unless required by applicable law or agreed to in writing, software
 12  
  * distributed under the License is distributed on an "AS IS" BASIS,
 13  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 14  
  * See the License for the specific language governing permissions and
 15  
  * limitations under the License.
 16  
  *
 17  
  *
 18  
  *
 19  
  * Original Author:  prashant.nair (Tavant Technologies)
 20  
  * Contributor(s):   -;
 21  
  *
 22  
  */
 23  
 package net.sf.infrared.web.formbean;
 24  
 
 25  
 import net.sf.infrared.base.model.ExecutionContext;
 26  
 import net.sf.infrared.web.util.ViewUtil;
 27  
 
 28  
 import org.apache.struts.action.ActionForm;
 29  
 
 30  0
 public class AggrExecTimeFormBean extends ActionForm {
 31  
 
 32  
     private ExecutionContext context;
 33  
     
 34  
     private String executionCount;
 35  
 
 36  
     private String totalInclusiveTime;
 37  
 
 38  
     private String maxInclusiveTime;
 39  
 
 40  
     private String minInclusiveTime;
 41  
 
 42  
     private String totalExclusiveTime;
 43  
 
 44  
     private String maxExclusiveTime;
 45  
 
 46  
     private String minExclusiveTime;
 47  
 
 48  
     private String timeOfFirstExecution;
 49  
 
 50  
     private String timeOfLastExecution;
 51  
 
 52  
     private String inclusiveFirstExecutionTime;
 53  
 
 54  
     private String inclusiveLastExecutionTime;
 55  
 
 56  
     private String exclusiveFirstExecutionTime;
 57  
 
 58  
     private String exclusiveLastExecutionTime;
 59  
 
 60  
     private String averageExclusiveTime;
 61  
     
 62  
     private String averageInclusiveTime;
 63  
     
 64  
     private String adjAverageInclusiveTime;
 65  
     
 66  
     private String adjAverageExclusiveTime;
 67  
     
 68  
     private String layerName;
 69  
     
 70  
     public String getAdjAverageExclusiveTime() {
 71  0
         return ViewUtil.getFormattedTime(adjAverageExclusiveTime, 2);
 72  
     }
 73  
 
 74  
     public void setAdjAverageExclusiveTime(String adjAverageExclusiveTime) {
 75  0
         this.adjAverageExclusiveTime = adjAverageExclusiveTime;
 76  0
     }
 77  
 
 78  
     public String getAdjAverageInclusiveTime() {
 79  0
         return ViewUtil.getFormattedTime(adjAverageInclusiveTime, 2);
 80  
     }
 81  
 
 82  
     public void setAdjAverageInclusiveTime(String adjAverageInclusiveTime) {
 83  0
         this.adjAverageInclusiveTime = adjAverageInclusiveTime;
 84  0
     }
 85  
 
 86  
     public String getAverageExclusiveTime() {
 87  0
         return ViewUtil.getFormattedTime(averageExclusiveTime, 2);
 88  
     }
 89  
 
 90  
     public void setAverageExclusiveTime(String averageExclusiveTime) {
 91  0
         this.averageExclusiveTime = averageExclusiveTime;
 92  0
     }
 93  
 
 94  
     public String getAverageInclusiveTime() {
 95  0
         return ViewUtil.getFormattedTime(averageInclusiveTime, 2);
 96  
     }
 97  
 
 98  
     public void setAverageInclusiveTime(String averageInclusiveTime) {
 99  0
         this.averageInclusiveTime = averageInclusiveTime;
 100  0
     }
 101  
 
 102  
     public ExecutionContext getContext() {
 103  0
         return context;
 104  
     }
 105  
     
 106  
     public void setContext(ExecutionContext context) {
 107  0
         this.context = context;
 108  0
     }
 109  
 
 110  
     public String getExecutionCount() {
 111  0
         return executionCount;
 112  
     }
 113  
 
 114  
     public void setExecutionCount(String count) {
 115  0
         this.executionCount = count;
 116  0
     }
 117  
 
 118  
     public String getExclusiveFirstExecutionTime() {
 119  0
         return exclusiveFirstExecutionTime;
 120  
     }
 121  
 
 122  
     public void setExclusiveFirstExecutionTime(String exclusiveFirstExecutionTime) {
 123  0
         this.exclusiveFirstExecutionTime = exclusiveFirstExecutionTime;
 124  0
     }
 125  
 
 126  
     public String getExclusiveLastExecutionTime() {
 127  0
         return exclusiveLastExecutionTime;
 128  
     }
 129  
 
 130  
     public void setExclusiveLastExecutionTime(String exclusiveLastExecutionTime) {
 131  0
         this.exclusiveLastExecutionTime = exclusiveLastExecutionTime;
 132  0
     }
 133  
 
 134  
     public String getInclusiveFirstExecutionTime() {
 135  0
         return inclusiveFirstExecutionTime;
 136  
     }
 137  
 
 138  
     public void setInclusiveFirstExecutionTime(String inclusiveFirstExecutionTime) {
 139  0
         this.inclusiveFirstExecutionTime = inclusiveFirstExecutionTime;
 140  0
     }
 141  
 
 142  
     public String getInclusiveLastExecutionTime() {
 143  0
         return inclusiveLastExecutionTime;
 144  
     }
 145  
 
 146  
     public void setInclusiveLastExecutionTime(String inclusiveLastExecutionTime) {
 147  0
         this.inclusiveLastExecutionTime = inclusiveLastExecutionTime;
 148  0
     }
 149  
 
 150  
     public String getMaxExclusiveTime() {
 151  0
         return maxExclusiveTime;
 152  
     }
 153  
 
 154  
     public void setMaxExclusiveTime(String maxExclusiveTime) {
 155  0
         this.maxExclusiveTime = maxExclusiveTime;
 156  0
     }
 157  
 
 158  
     public String getMaxInclusiveTime() {
 159  0
         return maxInclusiveTime;
 160  
     }
 161  
 
 162  
     public void setMaxInclusiveTime(String maxInclusiveTime) {
 163  0
         this.maxInclusiveTime = maxInclusiveTime;
 164  0
     }
 165  
 
 166  
     public String getMinExclusiveTime() {
 167  0
         return minExclusiveTime;
 168  
     }
 169  
 
 170  
     public void setMinExclusiveTime(String minExclusiveTime) {
 171  0
         this.minExclusiveTime = minExclusiveTime;
 172  0
     }
 173  
 
 174  
     public String getMinInclusiveTime() {
 175  0
         return minInclusiveTime;
 176  
     }
 177  
 
 178  
     public void setMinInclusiveTime(String minInclusiveTime) {
 179  0
         this.minInclusiveTime = minInclusiveTime;
 180  0
     }
 181  
 
 182  
     public String getTimeOfFirstExecution() {
 183  0
         return timeOfFirstExecution;
 184  
     }
 185  
 
 186  
     public void setTimeOfFirstExecution(String timeOfFirstExecution) {
 187  0
         this.timeOfFirstExecution = timeOfFirstExecution;
 188  0
     }
 189  
 
 190  
     public String getTimeOfLastExecution() {
 191  0
         return timeOfLastExecution;
 192  
     }
 193  
 
 194  
     public void setTimeOfLastExecution(String timeOfLastExecution) {
 195  0
         this.timeOfLastExecution = timeOfLastExecution;
 196  0
     }
 197  
 
 198  
     public String getTotalExclusiveTime() {
 199  0
         return totalExclusiveTime;
 200  
     }
 201  
 
 202  
     public void setTotalExclusiveTime(String totalExclusiveTime) {
 203  0
         this.totalExclusiveTime = totalExclusiveTime;
 204  0
     }
 205  
 
 206  
     public String getTotalInclusiveTime() {
 207  0
         return totalInclusiveTime;
 208  
     }
 209  
 
 210  
     public void setTotalInclusiveTime(String totalInclusiveTime) {
 211  0
         this.totalInclusiveTime = totalInclusiveTime;
 212  0
     }
 213  
 
 214  
     public String getTruncatedName(){
 215  0
         return context.getName();
 216  
     }
 217  
     
 218  
     public String getApiName(){
 219  0
         return context.getName();
 220  
     }
 221  
 
 222  
     public String getCtxName() {
 223  0
         return context.getClass().getName();
 224  
     }
 225  
 
 226  
     public String getLayerName() {
 227  0
         return layerName;
 228  
     }
 229  
 
 230  
     public void setLayerName(String layerName) {
 231  0
         this.layerName = layerName;
 232  0
     }
 233  
     
 234  
     
 235  
 }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.