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.8.1.1";
053    
054            /**
055             * エンジンビルドタイプã?
056             * こã?エンジンのビルドタイプを設定しますã?
057             * @og.paramLevel 9:自動設å®?
058             */
059            public static final String BUILD_TYPE = "Release5 Builds (14318)" ;
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 = "openGion " + VERSION_NO + " " + BUILD_TYPE ;
068    
069            /**
070             * エンジンビルド時刻ã€?
071             * こã?エンジンのビルド時刻を設定しますã?
072             * @og.paramLevel 9:自動設å®?
073             */
074            public static final String TIMESTAMP = "2014/11/14 15:07:12" ;
075    
076            /**
077             * 稼動してã�?‚‹サーバã?の?¯?³æƒ??ã€?
078             * ã�?�¾、稼動してã�?‚‹サーバã?の?¯?³æƒ??を設定しますã?
079             * [例ï¼?Windows 2000 Service Pack 4]
080             *
081             * @og.rev 5.6.7.3 (2013/08/23) os.arch と、sun.arch.data.model を追åŠ?�—ますã?
082             *
083             * @og.paramLevel 9:自動設å®?
084             */
085    //      public static final String OS_INFO = System.getProperty( "os.name" ) + " " + System.getProperty( "sun.os.patch.level" ) ;
086            public static final String OS_INFO = System.getProperty( "os.name" )
087                                                                    + " " +  System.getProperty( "sun.os.patch.level" )
088                                                                    + " " +  System.getProperty( "os.arch" )
089                                                                    + " (" +  System.getProperty( "sun.arch.data.model" ) + ")" ;
090    
091            /**
092             * JDKバã?ジョンã€?
093             * ã�?�¾、稼動してã�?‚‹Javaのバã?ジョンæƒ??を設定しますã?
094             * [例ï¼?Java HotSpot(TM) Server VM 1.4.2_05-b04 ]
095             *
096             * @og.rev 5.6.7.3 (2013/08/23) java.vm.version をã?java.runtime.version に変更しますã?
097             *
098             * @og.paramLevel 9:自動設å®?
099             */
100    //      public static final String JDK_INFO = System.getProperty( "java.vm.name" ) + " " + System.getProperty( "java.vm.version" ) ;
101            public static final String JDK_INFO = System.getProperty( "java.vm.name" )
102                                                                    + " " + System.getProperty( "java.runtime.version" ) ;
103    
104            /**
105             * コンãƒ?‚­ストã?稼動開始時刻ã€?
106             * こã?コンãƒ?‚­スãƒ?シスãƒ?ƒ )の稼動開始時刻(初めてロードされた時刻)を設定しますã?
107             * [例ï¼?2004/09/29 17:52:31]
108             * @og.paramLevel 9:自動設å®?
109             */
110            public static final String STARTING_TIME = String.valueOf( new Date() ) ;
111    
112            /**
113             * エンジンビルドID
114             * こã?エンジンのビルドIDを設定しますã?
115             * キャãƒ?‚·ュコントロールを行う際ã?キーæƒ??として使用しますã?
116             *
117             * @og.rev 4.3.5.3 (2008/02/22)
118             *
119             * @og.paramLevel 9:自動設å®?
120             */
121            public static final String BUILD_ID = "20141114150712" ;
122    
123            /**
124             *      ãƒ?ƒ•ォルトコンストラクターをprivateにしてã€?
125             *      オブジェクトã?生æ?をさせなã�?‚ˆã�?�«するã€?
126             *
127             * @og.rev 3.5.5.3 (2004/04/09) インターフェースをã?クラスに変更しますã?
128             */
129            private BuildNumber() {}
130    }