コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
SandboxConfigurationFactory(サンドボックス構成ファクトリ)
public
class
SandboxConfigurationFactory
extends ConfigurationFactory
サンドボックス化のために構成の作成を処理する特別な構成ファクトリ。
TODO: 構成ダンプ部分を別のクラスに分割する
概要
フィールド
OPTION_IGNORED_ELEMENTS
public static final OPTION_IGNORED_ELEMENTS
パブリック コンストラクタ
SandboxConfigurationFactory(サンドボックス構成ファクトリ)
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 |
|
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2024-08-22 UTC。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]
{
"lastModified": "最終更新日 2024-08-22 UTC。",
"confidential": False
}