サンドボックス構成ファクトリー
public class SandboxConfigurationFactory
extends ConfigurationFactory
サンドボックス化を目的とした構成の作成を処理する特別な構成ファクトリー。
TODO: 構成ダンプ部分を別のクラスに分割する
まとめ
田畑
OPTION_IGNORED_ELEMENTS
public static final OPTION_IGNORED_ELEMENTS
パブリックコンストラクター
サンドボックス構成ファクトリー
public SandboxConfigurationFactory ()
パブリックメソッド
createConfigurationFromArgs
public IConfiguration createConfigurationFromArgs (String[] args,
IKeyStoreClient keyStoreClient,
ISandbox sandbox,
IRunUtil runUtil)
提供されたコマンド ラインとサンドボックスに基づいてIConfiguration
作成します。
パラメーター |
---|
args | String : 実行のコマンドライン。 |
keyStoreClient | IKeyStoreClient : キーのロード元となるIKeyStoreClient 。 |
sandbox | ISandbox : 実行に使用されるISandbox 。 |
runUtil | IRunUtil : コマンドを実行するためのIRunUtil 。 |
投げる |
---|
ConfigurationException | |
createConfigurationFromArgs
public IConfiguration createConfigurationFromArgs (String[] arrayArgs,
SandboxConfigDump.DumpCmd command)
コマンドのダンプを実行するとき。具体的な期待を込めて構成を作成します。
パラメーター |
---|
arrayArgs | String : 実行のコマンドライン。 |
command | SandboxConfigDump.DumpCmd : ダンプコマンドが進行中です |
投げる |
---|
ConfigurationException | |
createConfigurationFromArgs
public IConfiguration createConfigurationFromArgs (String[] args,
IKeyStoreClient keyStoreClient,
ISandbox sandbox,
IRunUtil runUtil,
File globalConfig)
提供されたコマンド ラインとサンドボックスに基づいてIConfiguration
作成します。
パラメーター |
---|
args | String : 実行のコマンドライン。 |
keyStoreClient | IKeyStoreClient : キーのロード元となるIKeyStoreClient 。 |
sandbox | ISandbox : 実行に使用されるISandbox 。 |
runUtil | IRunUtil : コマンドを実行するためのIRunUtil 。 |
globalConfig | File |
投げる |
---|
ConfigurationException | |
保護されたメソッド
getConfigurationDef
protected ConfigurationDef getConfigurationDef (String name,
boolean isGlobal,
templateMap)
指定された名前のConfigurationDef
を取得します。
パラメーター |
---|
name | String : ロードする組み込み構成の名前、またはロードする構成ファイルへのファイル パス |
isGlobal | boolean |
templateMap | |
投げる |
---|
ConfigurationException | |