|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.config.base.BaseConfigurationImpl
com.ibm.di.config.base.ExternalPropertiesImpl
public class ExternalPropertiesImpl
Implements the old External Properties used when running Tivoli Directory Integrator.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
|---|
NAME |
| Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
|---|
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE |
| Constructor Summary | |
|---|---|
ExternalPropertiesImpl()
Deprecated. |
|
ExternalPropertiesImpl(Object config)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
configurationChanged(MetamergeConfigChange mcc)
Deprecated. |
String |
getCipher()
Deprecated. Returns the Cipher algorithm used when reading/writing an encrypted file |
Object |
getClone()
Deprecated. |
boolean |
getEncrypted()
Deprecated. Gets the encrypted flag of the ExternalPropertiesConfig object |
String |
getFilePath()
Deprecated. Gets the filePath attribute of the ExternalPropertiesConfig object |
List<String> |
getKeys(int level)
Deprecated. Returns a list of keys in this object. |
Object |
getParameter(Object name)
Deprecated. Returns the value for a given config item. |
String |
getPassword()
Deprecated. Returns the password used when opening an encrypted file |
boolean |
getSaveNeeded()
Deprecated. Gets the saveNeeded flag of the ExternalPropertiesConfig object |
void |
init()
Deprecated. Called after internal data structure is set. |
boolean |
isDebugMode()
Deprecated. |
void |
loadData()
Deprecated. This method reads the external properties into memory for subseqent use. |
void |
mergeData(String path)
Deprecated. This method merges the contents of a file into the current list of properties. |
void |
removeParameter(Object name)
Deprecated. Removes a local parameter from this object. |
void |
saveData()
Deprecated. This method writes back the data to the external file. |
void |
setCipher(String cipher)
Deprecated. Sets the Cipher algorithm used when reading/writing an encrypted file |
void |
setEncrypted(boolean encrypted)
Deprecated. Sets the encrypted flag of the ExternalPropertiesConfig object |
void |
setFilePath(String path)
Deprecated. Sets the filePath attribute of the ExternalPropertiesConfig object |
void |
setParameter(Object name,
Object value)
Deprecated. Sets the value for a given config item |
void |
setPassword(String password)
Deprecated. Sets the password used when opening an encrypted file |
void |
setupInheritanceChain()
Deprecated. Established the inheritance chain for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalPropertiesImpl()
public ExternalPropertiesImpl(Object config)
| Method Detail |
|---|
public boolean isDebugMode()
public void init()
throws Exception
BaseConfigurationImpl
init in interface BaseConfigurationinit in class BaseConfigurationImplException - if the initialization fails.public void configurationChanged(MetamergeConfigChange mcc)
BaseConfigurationImpl
configurationChanged in interface MetamergeConfigChangeListenerconfigurationChanged in class BaseConfigurationImpl
public void loadData()
throws Exception
ExternalPropertiesConfig
loadData in interface ExternalPropertiesConfigException - if the operation does not succeed
public void mergeData(String path)
throws Exception
ExternalPropertiesConfig
mergeData in interface ExternalPropertiesConfigpath - The file path to load properties from
Exception - if the operation does not succeed
public void saveData()
throws Exception
ExternalPropertiesConfig
saveData in interface ExternalPropertiesConfigException - if the operation does not succeedpublic boolean getSaveNeeded()
ExternalPropertiesConfig
getSaveNeeded in interface ExternalPropertiesConfigpublic void setupInheritanceChain()
BaseConfigurationImpl
setupInheritanceChain in interface BaseConfigurationsetupInheritanceChain in class BaseConfigurationImplpublic String getFilePath()
ExternalPropertiesConfig
getFilePath in interface ExternalPropertiesConfigpublic void setFilePath(String path)
ExternalPropertiesConfig
setFilePath in interface ExternalPropertiesConfigpath - The new filePath valuepublic String getPassword()
ExternalPropertiesConfig
getPassword in interface ExternalPropertiesConfigpublic void setPassword(String password)
ExternalPropertiesConfig
setPassword in interface ExternalPropertiesConfigpublic boolean getEncrypted()
ExternalPropertiesConfig
getEncrypted in interface ExternalPropertiesConfigpublic void setEncrypted(boolean encrypted)
ExternalPropertiesConfig
setEncrypted in interface ExternalPropertiesConfigencrypted - The new encrypted valuepublic String getCipher()
getCipher in interface ExternalPropertiesConfigpublic void setCipher(String cipher)
setCipher in interface ExternalPropertiesConfigpublic List<String> getKeys(int level)
BaseConfigurationImpl
getKeys in interface BaseConfigurationgetKeys in class BaseConfigurationImpllevel - can have these values: public Object getParameter(Object name)
BaseConfigurationImpl
getParameter in interface BaseConfigurationgetParameter in class BaseConfigurationImplname - The parameter name
public void setParameter(Object name,
Object value)
BaseConfigurationImpl
setParameter in interface BaseConfigurationsetParameter in class BaseConfigurationImplname - Parameter namevalue - Parameter valuepublic void removeParameter(Object name)
BaseConfigurationImpl
removeParameter in interface BaseConfigurationremoveParameter in class BaseConfigurationImplname - Parameter name
public Object getClone()
throws Exception
BaseConfigurationImpl
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImplException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||