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    }