001    /*
002     * Copyright (c) 2009 The openGion Project.
003     *
004     * Licensed under the Apache License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     *     http://www.apache.org/licenses/LICENSE-2.0
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
013     * either express or implied. See the License for the specific language
014     * governing permissions and limitations under the License.
015     */
016    package org.opengion.hayabusa.common;
017    
018    import java.util.Date;
019    
020    /**
021     * こã?シスãƒ?ƒ 全体ã?リリース状況を表すデータを直接コーãƒ?‚£ングしてã�?�¾すã?
022     * バã?ジョン番号は、X.X.X.X とã�?�†管ç�?½“系をあらわしてã�?�¾すã?
023     * バã?ジョン変更時には、WEB-INF/lib/hayabusaX.X.X.X.jar ファイルとã€?
024     * jsp/common フォルãƒ??jsp/menu フォルãƒ??jsp/image フォルãƒ??変更がå¿?¦�ですã?
025     * 以前ã?使用してã�?�¾した、WEB-INF/hybs-taglib.tld ファイルは、hayabusaX.X.X.X.jar に
026     * çµ?�¿込まれた為、導å?するå¿?¦�ã?なくなりましたã€?
027     * ただしã?影響度合いもè?慮してã�?�¾すã?で、厳å¯?�«下記ã?通りの変更になるとは限りません
028     * ので、置換え時には、RELEASE-NOTES.txt をご確認ã?上ã?対応願いますã?
029     *
030     *<pre>
031     *        X.X.X
032     *        | | |_____ シスãƒ?ƒ 修正、変更、ã?イナã?リリース
033     *        | |_______ シスãƒ?ƒ 新機è?追åŠ??DBなど外部環å¢??変更å¿?¦?
034     *        |_________ シスãƒ?ƒ アーキãƒ?‚¯チャの変更?ˆアプリケーションの修正å¿?¦?¼?
035     *
036     * </pre>
037     *
038     * @og.rev 3.5.5.3 (2004/04/09) インターフェースをã?クラスに変更しますã?
039     * @og.rev 4.0.0.0 (2004/12/31) é ?›®追åŠ?
040     *
041     * @version  0.9.0  2000/10/17
042     * @author   Kazuhiko Hasegawa
043     * @since    JDK1.1,
044     */
045    public final class BuildNumber {
046    
047            /**
048             * エンジンバã?ジョン番号ã€?
049             * こã?エンジンのバã?ジョン番号を設定しますã?
050             * @og.paramLevel 9:自動設å®?
051             */
052            public static final String VERSION_NO = "5.6.7.0";
053    
054            /**
055             * エンジンビルドタイプã?
056             * こã?エンジンのビルドタイプを設定しますã?
057             * @og.paramLevel 9:自動設å®?
058             */
059            public static final String BUILD_TYPE = "Release5 Builds (13210)" ;
060    
061            /**
062             * エンジンバã?ジョンNoã€?
063             * こã?エンジンのバã?ジョン番号 + ビルドタイãƒ?を設定しますã?
064             * [例ï¼?4.0.0.0 Release4 Builds (04273)]
065             * @og.paramLevel 9:自動設å®?
066             */
067            public static final String ENGINE_INFO = VERSION_NO + " " + BUILD_TYPE ;
068    
069            /**
070             * エンジンビルド時刻ã€?
071             * こã?エンジンのビルド時刻を設定しますã?
072             * @og.paramLevel 9:自動設å®?
073             */
074            public static final String TIMESTAMP = "2013/07/29 09:12:47" ;
075    
076            /**
077             * 稼動してã�?‚‹サーバã?の?¯?³æƒ??ã€?
078             * ã�?�¾、稼動してã�?‚‹サーバã?の?¯?³æƒ??を設定しますã?
079             * [例ï¼?Windows 2000 Service Pack 4]
080             * @og.paramLevel 9:自動設å®?
081             */
082            public static final String OS_INFO = System.getProperty( "os.name" ) + " " + System.getProperty( "sun.os.patch.level" ) ;
083    
084            /**
085             * JDKバã?ジョンã€?
086             * ã�?�¾、稼動してã�?‚‹Javaのバã?ジョンæƒ??を設定しますã?
087             * [例ï¼?Java HotSpot(TM) Server VM 1.4.2_05-b04 ]
088             * @og.paramLevel 9:自動設å®?
089             */
090            public static final String JDK_INFO = System.getProperty( "java.vm.name" ) + " " + System.getProperty( "java.vm.version" ) ;
091    
092            /**
093             * コンãƒ?‚­ストã?稼動開始時刻ã€?
094             * こã?コンãƒ?‚­スãƒ?シスãƒ?ƒ )の稼動開始時刻(初めてロードされた時刻)を設定しますã?
095             * [例ï¼?2004/09/29 17:52:31]
096             * @og.paramLevel 9:自動設å®?
097             */
098            public static final String STARTING_TIME = String.valueOf( new Date() ) ;
099    
100            /**
101             * エンジンビルドID
102             * こã?エンジンのビルドIDを設定しますã?
103             * キャãƒ?‚·ュコントロールを行う際ã?キーæƒ??として使用しますã?
104             *
105             * @og.rev 4.3.5.3 (2008/02/22)
106             *
107             * @og.paramLevel 9:自動設å®?
108             */
109            public static final String BUILD_ID = "20130729091247" ;
110    
111            /**
112             *      ãƒ?ƒ•ォルトコンストラクターをprivateにしてã€?
113             *      オブジェクトã?生æ?をさせなã�?‚ˆã�?�«するã€?
114             *
115             * @og.rev 3.5.5.3 (2004/04/09) インターフェースをã?クラスに変更しますã?
116             */
117            private BuildNumber() {}
118    }