bodybuilder.util
クラス Config

java.lang.Object
  拡張bodybuilder.util.Config

public class Config
extends java.lang.Object

設定


コンストラクタの概要
Config()
           
 
メソッドの概要
static java.util.Map getBuilderMap()
          ビルダーのマップを取得する。
static java.lang.String getDatabaseDriver()
          データベースのドライバ名を取得する。
static java.lang.String getDatabasePassword()
          データベースのパスワードを取得する。
static java.lang.String getDatabaseUrl()
          データベースのURLを取得する。
static java.lang.String getDatabaseUser()
          データベースのユーザ名を取得する。
static java.util.Map getDataSetMap()
          データセットのマップをを取得する。
static java.util.Map getIgnoreProperties()
          検査しないプロパティのマップを取得する。
static java.util.Map getInspectorMap()
          インスペクターのマップを取得する。
static java.lang.String getOutputHandler()
          出力ハンドラ名を取得する。
static java.lang.String getProperty(java.lang.String key)
          プロパティを取得する。
static java.lang.String getRequiredProperty(java.lang.String key)
          プロパティを取得する。
static java.util.Map getTestCaseMap()
          テストケースのマップを取得する。
static java.util.List getTestIgnoreDirs()
          無視するディレクトリのリストを取得する。
static java.lang.String[] getTestRootDirs()
          テストのルートディレクトリのリストを取得する。
static java.util.Map getValueMap()
          拡張値のマップを取得する。
static java.util.Map getViewerMap()
          ビューアのマップを取得する。
static boolean isInspectionClass()
          クラスを検査するかどうかを取得する。
static boolean isInspectionExceptionCause()
          例外の原因を検査するかどうかを返す。
static boolean isInspectionExceptionRegex()
          例外のメッセージの検査に正規表現を使用するかどうかを返す。
static boolean isInspectionKeySetStrictly()
          キーセットを厳密に検査するかどうかを取得する。
static boolean isInspectionSize()
          サイズを検査するかどうかを取得する。
static boolean isValidate()
          XMLの妥当性を検査するかどうかを取得する。
static boolean isViewPrintStackTrace()
          スタックトレースを出力するかどうかを返す。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Config

public Config()
メソッドの詳細

isValidate

public static boolean isValidate()
XMLの妥当性を検査するかどうかを取得する。

戻り値:
XMLの妥当性を検査する場合はtrue

getOutputHandler

public static java.lang.String getOutputHandler()
出力ハンドラ名を取得する。

戻り値:
出力ハンドラ名

isInspectionSize

public static boolean isInspectionSize()
サイズを検査するかどうかを取得する。

戻り値:
サイズを検査する場合はtrue

isInspectionKeySetStrictly

public static boolean isInspectionKeySetStrictly()
キーセットを厳密に検査するかどうかを取得する。

戻り値:
キーセットを厳密に検査する場合はtrue

isInspectionClass

public static boolean isInspectionClass()
クラスを検査するかどうかを取得する。

戻り値:
クラスを検査する場合はtrue

isInspectionExceptionRegex

public static boolean isInspectionExceptionRegex()
例外のメッセージの検査に正規表現を使用するかどうかを返す。

戻り値:
正規表現を使用する場合はtrue

isInspectionExceptionCause

public static boolean isInspectionExceptionCause()
例外の原因を検査するかどうかを返す。

戻り値:
検査する場合はtrue

getIgnoreProperties

public static java.util.Map getIgnoreProperties()
検査しないプロパティのマップを取得する。

戻り値:
検査しないプロパティのマップ

isViewPrintStackTrace

public static boolean isViewPrintStackTrace()
スタックトレースを出力するかどうかを返す。

戻り値:
スタックトレースを出力する場合はtrue

getBuilderMap

public static java.util.Map getBuilderMap()
ビルダーのマップを取得する。

戻り値:
ビルダーのマップ

getViewerMap

public static java.util.Map getViewerMap()
ビューアのマップを取得する。

戻り値:
ビューアのマップ

getInspectorMap

public static java.util.Map getInspectorMap()
インスペクターのマップを取得する。

戻り値:
インスペクターのマップ

getValueMap

public static java.util.Map getValueMap()
拡張値のマップを取得する。

戻り値:
拡張値のマップ

getTestRootDirs

public static java.lang.String[] getTestRootDirs()
テストのルートディレクトリのリストを取得する。

戻り値:
テストのルートディレクトリのリスト

getTestIgnoreDirs

public static java.util.List getTestIgnoreDirs()
無視するディレクトリのリストを取得する。

戻り値:
無視するディレクトリのリスト

getTestCaseMap

public static java.util.Map getTestCaseMap()
テストケースのマップを取得する。

戻り値:
テストケースのマップ

getDatabaseDriver

public static java.lang.String getDatabaseDriver()
データベースのドライバ名を取得する。

戻り値:
データベースのドライバ名

getDatabaseUrl

public static java.lang.String getDatabaseUrl()
データベースのURLを取得する。

戻り値:
データベースのURL

getDatabaseUser

public static java.lang.String getDatabaseUser()
データベースのユーザ名を取得する。

戻り値:
データベースのユーザ名

getDatabasePassword

public static java.lang.String getDatabasePassword()
データベースのパスワードを取得する。

戻り値:
データベースのパスワード

getDataSetMap

public static java.util.Map getDataSetMap()
データセットのマップをを取得する。

戻り値:
データセットのマップ

getProperty

public static java.lang.String getProperty(java.lang.String key)
プロパティを取得する。

パラメータ:
key - キー
戻り値:
プロパティ

getRequiredProperty

public static java.lang.String getRequiredProperty(java.lang.String key)
プロパティを取得する。未定義の場合はエラー。

パラメータ:
key - キー
戻り値:
プロパティ