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.6.0"; 053 054 /** 055 * エンジンビルドタイプã? 056 * ã“ã?エンジンã®ãƒ“ルドタイプをè¨å®šã—ã¾ã™ã? 057 * @og.paramLevel 9:自動è¨å®? 058 */ 059 public static final String BUILD_TYPE = "Release5 Builds (15093)" ; 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 = "2015/04/03 15:17:30" ; 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 = "20150403151730" ; 122 123 /** 124 * ãƒ?ƒ•ォルトコンストラクターをprivateã«ã—ã¦ã€? 125 * オブジェクトã?生æ?ã‚’ã•ã›ãªã?‚ˆã?«ã™ã‚‹ã€? 126 * 127 * @og.rev 3.5.5.3 (2004/04/09) インターフェースをã?クラスã«å¤‰æ›´ã—ã¾ã™ã? 128 */ 129 private BuildNumber() {} 130 }