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 2006-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  
 
 17  
 package org.kuali.rice.ksb.messaging.web;
 18  
 
 19  
 import org.apache.struts.action.ActionForm;
 20  
 import org.kuali.rice.core.api.config.CoreConfigHelper;
 21  
 import org.kuali.rice.ksb.messaging.threadpool.KSBThreadPool;
 22  
 
 23  
 
 24  
 /**
 25  
  * Struts ActionForm for the {@link ThreadPoolAction}.
 26  
  *
 27  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 28  
  *
 29  
  */
 30  0
 public class ThreadPoolForm extends ActionForm {
 31  
 
 32  
     private static final long serialVersionUID = 6670668383823543732L;
 33  
 
 34  
     private String methodToCall;
 35  
     private KSBThreadPool threadPool;
 36  
     private Integer corePoolSize; //editable
 37  
     private Integer maximumPoolSize; //editable
 38  
 
 39  
     private boolean allServers;
 40  
     private Long timeIncrement;
 41  
     private Long maxRetryAttempts;
 42  
 
 43  
     public String getMethodToCall() {
 44  0
         return this.methodToCall;
 45  
     }
 46  
     public void setMethodToCall(String methodToCall) {
 47  0
         this.methodToCall = methodToCall;
 48  0
     }
 49  
     public Integer getCorePoolSize() {
 50  0
         return this.corePoolSize;
 51  
     }
 52  
     public void setCorePoolSize(Integer corePoolSize) {
 53  0
         this.corePoolSize = corePoolSize;
 54  0
     }
 55  
     public Integer getMaximumPoolSize() {
 56  0
         return this.maximumPoolSize;
 57  
     }
 58  
     public void setMaximumPoolSize(Integer maximumPoolSize) {
 59  0
         this.maximumPoolSize = maximumPoolSize;
 60  0
     }
 61  
     public KSBThreadPool getThreadPool() {
 62  0
         return this.threadPool;
 63  
     }
 64  
     public void setThreadPool(KSBThreadPool threadPool) {
 65  0
         this.threadPool = threadPool;
 66  0
     }
 67  
     public boolean isAllServers() {
 68  0
         return this.allServers;
 69  
     }
 70  
     public void setAllServers(boolean allServers) {
 71  0
         this.allServers = allServers;
 72  0
     }
 73  
     public String getApplicationId() {
 74  0
             return CoreConfigHelper.getApplicationId();
 75  
     }
 76  
     public Long getMaxRetryAttempts() {
 77  0
         return this.maxRetryAttempts;
 78  
     }
 79  
     public void setMaxRetryAttempts(Long maxRetryAttempts) {
 80  0
         this.maxRetryAttempts = maxRetryAttempts;
 81  0
     }
 82  
     public Long getTimeIncrement() {
 83  0
         return this.timeIncrement;
 84  
     }
 85  
     public void setTimeIncrement(Long timeIncrement) {
 86  0
         this.timeIncrement = timeIncrement;
 87  0
     }
 88  
 
 89  
 }