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; 017package org.opengion.fukurou.system; // 6.4.2.0 (2016/01/29) package変更 fukurou.util → fukurou.system 018 019import java.util.Date; 020 021/** 022 * このシステム全体のリリース状況を表すデータを直接コーディングしています。 023 * バージョン番号は、X.X.X.X という管理体系をあらわしています。 024 * バージョン変更時には、WEB-INF/lib/パッケージX.X.X.X.jar ファイルの変更が必要です。 025 * 以前、使用していました、WEB-INF/hybs-taglib.tld ファイルは、hayabusaX.X.X.X.jar に 026 * 組み込まれた為、導入する必要はなくなりました。 027 * ただし、影響度合いも考慮していますので、厳密に下記の通りの変更になるとは限りません 028 * ので、置換え時には、RELEASE-NOTES.txt をご確認の上、対応願います。 029 * 030 *<pre> 031 * X.X.X.X 032 * | | | |___ システム修正、変更、マイナーリリース 033 * | | |_____ JSPファイル等の変更(タグリブマニュアル更新) 034 * | |_______ システム新機能追加、DBなど外部環境の変更必要 035 * |_________ システムアーキテクチャの変更(アプリケーションの修正必要) 036 * 037 * </pre> 038 * 039 * @og.rev 3.5.5.3 (2004/04/09) インターフェースを、クラスに変更します。 040 * @og.rev 4.0.0.0 (2004/12/31) 項目追加 041 * @og.rev 6.4.2.0 (2016/01/29) package変更 hayabusa.common → fukurou.system 042 * 043 * @version 0.9.0 2000/10/17 044 * @author Kazuhiko Hasegawa 045 * @since JDK1.1, 046 */ 047public final class BuildNumber { 048 049 /** 050 * エンジンバージョン番号。 051 * このエンジンのバージョン番号を設定します。 052 * @og.paramLevel 9:自動設定 053 */ 054 public static final String VERSION_NO = "7.0.0.0"; 055 056 /** 057 * エンジンビルドタイプ。 058 * このエンジンのビルドタイプを設定します。 059 * @og.paramLevel 9:自動設定 060 */ 061 public static final String BUILD_TYPE = "Release7 Builds (2018081)" ; 062 063 /** 064 * エンジンバージョンNo。 065 * このエンジンのバージョン番号 + ビルドタイプ を設定します。 066 * [例: 4.0.0.0 Release4 Builds (04273)] 067 * @og.paramLevel 9:自動設定 068 */ 069 public static final String ENGINE_INFO = "openGion " + VERSION_NO + " " + BUILD_TYPE ; 070 071 /** 072 * エンジンビルド時刻。 073 * このエンジンのビルド時刻を設定します。 074 * @og.paramLevel 9:自動設定 075 */ 076 public static final String TIMESTAMP = "2018/03/22 18:00:26" ; 077 078 /** 079 * 稼動しているサーバーのOS情報。 080 * いま、稼動しているサーバーのOS情報を設定します。 081 * [例: Windows 2000 Service Pack 4] 082 * 083 * @og.rev 5.6.7.3 (2013/08/23) os.arch と、sun.arch.data.model を追加します。 084 * 085 * @og.paramLevel 9:自動設定 086 */ 087 public static final String OS_INFO = System.getProperty( "os.name" ) 088 + " " + System.getProperty( "sun.os.patch.level" ) 089 + " " + System.getProperty( "os.arch" ) 090 + " (" + System.getProperty( "sun.arch.data.model" ) + ")" ; 091 092 /** 093 * JDKバージョン。 094 * いま、稼動しているJavaのバージョン情報を設定します。 095 * [例: Java HotSpot(TM) Server VM 1.4.2_05-b04 ] 096 * 097 * @og.rev 5.6.7.3 (2013/08/23) java.vm.version を、java.runtime.version に変更します。 098 * 099 * @og.paramLevel 9:自動設定 100 */ 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 = "20180322180026" ; 122 123 /** 124 * デフォルトコンストラクターをprivateにして、 125 * オブジェクトの生成をさせないようにする。 126 * 127 * @og.rev 3.5.5.3 (2004/04/09) インターフェースを、クラスに変更します。 128 */ 129 private BuildNumber() {} 130}