KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jmeter > util > JMeterVersion


1 // $Header: /home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/util/JMeterVersion.java,v 1.14.2.9 2005/03/17 03:04:53 sebb Exp $
2
/*
3  * Copyright 2003-2005 The Apache Software Foundation.
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 /*
20  * Created on 02-Oct-2003
21  *
22  * This class defines the JMeter version only (moved from JMeterUtils)
23  *
24  * Version changes no longer change the JMeterUtils source file
25  * - easier to spot when JMeterUtils really changes
26  * - much smaller to download when the version changes
27  *
28  */

29 package org.apache.jmeter.util;
30
31 /**
32  * Utility class to define the JMeter Version string
33  *
34  * @version $Revision: 1.14.2.9 $ $Date: 2005/03/17 03:04:53 $
35  */

36 public class JMeterVersion
37 {
38
39     /*
40      * The VERSION string is updated by the Ant build file, which looks for the
41      * pattern: VERSION = <quote>.*<quote>
42      *
43      * The string is made private so the compiler can't propagate it into JMeterUtils
44      * This ensures that JMeterUtils always gets the correct version, even if it is
45      * not re-compiled during the build.
46      */

47     private static final String JavaDoc VERSION = "2.0.3";
48
49     static final String JavaDoc COPYRIGHT = "Copyright (c) 1998-2005 The Apache Software Foundation";
50     
51     private JMeterVersion() // Not instantiable
52
{
53         super();
54     }
55
56     static final String JavaDoc getVERSION() {
57         return VERSION;
58     }
59 }
60
Popular Tags