SandboxConfigurationFactory
public class SandboxConfigurationFactory
extends ConfigurationFactory
מפעל תצורה מיוחד לטיפול ביצירת תצורות למטרת ארגז חול.
TODO: פצל את חלק ה-dump של התצורה למחלקה אחרת
סיכום
שדות
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)
בעת הפעלת ה-dump עבור פקודה. צור תצורה עם ציפיות ספציפיות.
פרמטרים |
---|
arrayArgs | String : שורת הפקודה לריצה. |
command | SandboxConfigDump.DumpCmd : פקודת ה-dump מתבצעת |
זורק |
---|
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 | |