Coverage Report - org.kuali.rice.ksb.messaging.web.ThreadPoolForm
 
Classes in this File Line Coverage Branch Coverage Complexity
ThreadPoolForm
0%
0/23
N/A
1
 
 1  
 /**
 2  
  * Copyright 2005-2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl2.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.rice.ksb.messaging.web;
 17  
 
 18  
 import org.apache.struts.action.ActionForm;
 19  
 import org.kuali.rice.core.api.config.CoreConfigHelper;
 20  
 import org.kuali.rice.ksb.messaging.threadpool.KSBThreadPool;
 21  
 
 22  
 
 23  
 /**
 24  
  * Struts ActionForm for the {@link ThreadPoolAction}.
 25  
  *
 26  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 27  
  *
 28  
  */
 29  0
 public class ThreadPoolForm extends ActionForm {
 30  
 
 31  
     private static final long serialVersionUID = 6670668383823543732L;
 32  
 
 33  
     private String methodToCall;
 34  
     private KSBThreadPool threadPool;
 35  
     private Integer corePoolSize; //editable
 36  
     private Integer maximumPoolSize; //editable
 37  
 
 38  
     private boolean allServers;
 39  
     private Long timeIncrement;
 40  
     private Long maxRetryAttempts;
 41  
 
 42  
     public String getMethodToCall() {
 43  0
         return this.methodToCall;
 44  
     }
 45  
     public void setMethodToCall(String methodToCall) {
 46  0
         this.methodToCall = methodToCall;
 47  0
     }
 48  
     public Integer getCorePoolSize() {
 49  0
         return this.corePoolSize;
 50  
     }
 51  
     public void setCorePoolSize(Integer corePoolSize) {
 52  0
         this.corePoolSize = corePoolSize;
 53  0
     }
 54  
     public Integer getMaximumPoolSize() {
 55  0
         return this.maximumPoolSize;
 56  
     }
 57  
     public void setMaximumPoolSize(Integer maximumPoolSize) {
 58  0
         this.maximumPoolSize = maximumPoolSize;
 59  0
     }
 60  
     public KSBThreadPool getThreadPool() {
 61  0
         return this.threadPool;
 62  
     }
 63  
     public void setThreadPool(KSBThreadPool threadPool) {
 64  0
         this.threadPool = threadPool;
 65  0
     }
 66  
     public boolean isAllServers() {
 67  0
         return this.allServers;
 68  
     }
 69  
     public void setAllServers(boolean allServers) {
 70  0
         this.allServers = allServers;
 71  0
     }
 72  
     public String getApplicationId() {
 73  0
             return CoreConfigHelper.getApplicationId();
 74  
     }
 75  
     public Long getMaxRetryAttempts() {
 76  0
         return this.maxRetryAttempts;
 77  
     }
 78  
     public void setMaxRetryAttempts(Long maxRetryAttempts) {
 79  0
         this.maxRetryAttempts = maxRetryAttempts;
 80  0
     }
 81  
     public Long getTimeIncrement() {
 82  0
         return this.timeIncrement;
 83  
     }
 84  
     public void setTimeIncrement(Long timeIncrement) {
 85  0
         this.timeIncrement = timeIncrement;
 86  0
     }
 87  
 
 88  
 }