Coverage report

| %line | %branch
--- | --- | ---
org.apache.stratum.scheduler.ThreadPoolConfig |
96% |
100% |

1 |  |
     package org.apache.stratum.scheduler;
2 |  |
3 |  |
     /*
4 |  |
      * Copyright 2001-2005 The Apache Software Foundation or its licensors,
5 |  |
      * as applicable.
6 |  |
      *
7 |  |
      * Licensed under the Apache License, Version 2.0 (the "License");
8 |  |
      * you may not use this file except in compliance with the License.
9 |  |
      * You may obtain a copy of the License at
10 |  |
      *
11 |  |
      *     http://www.apache.org/licenses/LICENSE-2.0
12 |  |
      *
13 |  |
      * Unless required by applicable law or agreed to in writing, software
14 |  |
      * distributed under the License is distributed on an "AS IS" BASIS,
15 |  |
      * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 |  |
      * See the License for the specific language governing permissions and
17 |  |
      * limitations under the License.
18 |  |
      */
19 |  |
20 |  |
     /**
21 |  |
      * This bean represents the settings used to assign thread pool properties for use in the Quartz scheduler.
22 |  |
      *
23 |  |
      * @author <a href="mailto:john@zenplex.com">John Thorhauer</a>
24 |  |
      * @version $Id: ThreadPoolConfig.java 264191 2005-08-29 18:07:52Z henning $
25 |  |
      */
26 |  |
     public class ThreadPoolConfig
27 |  |
     {
28 |  |
         /** The loggername used by the Quartz threadpool */
29 |  |
         private String loggerName;
30 |  |
31 |  |
         /** The classname used by the Quartz threadpool */
32 |  |
         private String className;
33 |  |
34 |  |
         /** The threadcount used by the Quartz threadpool */
35 |  |
         private String threadCount;
36 |  |
37 |  |
         /** The thread priority used by the Quartz threadpool */
38 |  |
         private String threadPriority;
39 |  |
40 |  |
         /**
41 |  |
          * Default contructor
42 |  |
          */
43 |  |
         public ThreadPoolConfig()
44 | 18 |
         {
45 | 18 |
         }
46 |  |
47 |  |
         /**
48 |  |
          * This is the reference name of the logger that has been registered with Quartz that will be used by the Quartz threadpool.
49 |  |
          *
50 |  |
          * @param s logger name
51 |  |
          */
52 |  |
         public void setLoggerName(String s)
53 |  |
         {
54 | 4 |
             this.loggerName = s;
55 | 4 |
         }
56 |  |
57 |  |
         /**
58 |  |
          * DOCUMENT ME!
59 |  |
          *
60 |  |
          * @return the name of the logger for the threadpool
61 |  |
          */
62 |  |
         public String getLoggerName()
63 |  |
         {
64 | 0 |
             return this.loggerName;
65 |  |
         }
66 | 4 |
67 | 4 |
         /**
68 |  |
          * This is the full package/class name of the class used for the Quartz threadpool.
69 |  |
          *
70 |  |
          * @param s the full package/class name used for the threadpool
71 |  |
          */
72 |  |
         public void setClassName(String s)
73 |  |
         {
74 | 20 |
             this.className = s;
75 | 18 |
         }
76 |  |
77 |  |
         /**
78 |  |
          * DOCUMENT ME!
79 |  |
          *
80 |  |
          * @return the full package/class name used for the threadpool
81 |  |
          */
82 |  |
         public String getClassName()
83 |  |
         {
84 | 9 |
             return this.className;
85 | 4 |
         }
86 | 4 |
87 |  |
         /**
88 |  |
          * This is the thread count used for the Quartz threadpool.
89 |  |
          *
90 |  |
          * @param s the thread count used for the Quartz threadpool.
91 |  |
          */
92 |  |
         public void setThreadCount(String s)
93 | 2 |
         {
94 | 18 |
             this.threadCount = s;
95 | 18 |
         }
96 |  |
97 |  |
         /**
98 |  |
          * DOCUMENT ME!
99 |  |
          *
100 |  |
          * @return the thread count used for the Quartz threadpool.
101 |  |
          */
102 |  |
         public String getThreadCount()
103 | 4 |
         {
104 | 13 |
             return this.threadCount;
105 |  |
         }
106 |  |
107 |  |
         /**
108 |  |
          * This is the thread priority used for the Quartz threadpool.
109 |  |
          *
110 |  |
          * @param s the thread priority for the Quartz threadpool.
111 | 2 |
          */
112 |  |
         public void setThreadPriority(String s)
113 |  |
         {
114 | 18 |
             this.threadPriority = s;
115 | 18 |
         }
116 |  |
117 |  |
         /**
118 |  |
          * DOCUMENT ME!
119 |  |
          *
120 |  |
          * @return the thread priority used for the Quartz threadpool.
121 | 4 |
          */
122 | 4 |
         public String getThreadPriority()
123 |  |
         {
124 | 9 |
             return this.threadPriority;
125 |  |
         }
126 |  |
     }

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