Coverage Report - org.apache.commons.latka.jelly.SuiteSettings
 
Classes in this File Line Coverage Branch Coverage Complexity
SuiteSettings
0%
0/14
N/A
1
 
 1  
 /*
 2  
  * Copyright 1999-2001,2004 The Apache Software Foundation.
 3  
  * 
 4  
  * Licensed under the Apache 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.apache.org/licenses/LICENSE-2.0
 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.apache.commons.latka.jelly;
 18  
 
 19  
 /**
 20  
  *
 21  
  * @author  Morgan Delagrange
 22  
  */
 23  
 public class SuiteSettings {
 24  
         
 25  0
     protected String _defaultHost = null;
 26  0
     protected int _defaultPort = -1;
 27  0
     protected String _defaultProxyHost = null;
 28  0
     protected int _defaultProxyPort = -1;
 29  
 
 30  
     /** Creates a new instance of SuiteSettings */
 31  
     public SuiteSettings(String defaultHost, int defaultPort,
 32  0
                          String defaultProxyHost, int defaultProxyPort) {
 33  0
         _defaultHost = defaultHost;
 34  0
         _defaultPort = defaultPort;
 35  0
         _defaultProxyHost = defaultProxyHost;
 36  0
         _defaultProxyPort = defaultProxyPort;
 37  0
     }
 38  
     
 39  
     /**
 40  
      * defaultHost
 41  
      * 
 42  
      * @return defaultHost for all requests
 43  
      */
 44  
     public String getDefaultHost() {
 45  0
         return _defaultHost;
 46  
     }
 47  
     
 48  
     /**
 49  
      * defaultPort
 50  
      * 
 51  
      * @return defaultPort for all requests
 52  
      */
 53  
     public int getDefaultPort() {
 54  0
         return _defaultPort;
 55  
     }
 56  
 
 57  
 
 58  
     /**
 59  
      * defaultProxyHost
 60  
      * 
 61  
      * @return defaultProxyHost for all requests
 62  
      */
 63  
     public String getDefaultProxyHost() {
 64  0
         return _defaultProxyHost;
 65  
     }
 66  
 
 67  
     /**
 68  
      * defaultProxyPort
 69  
      * 
 70  
      * @return defaultProxyPort for all requests
 71  
      */
 72  
     public int getDefaultProxyPort() {
 73  0
         return _defaultProxyPort;
 74  
     }
 75  
 
 76  
 }