|
|||||||||||
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.interfaces.ExternalPropertiesDelegator
TDIProperties
instead.
public class ExternalPropertiesDelegator
The old way of accessing External Properties.
TDIProperties
,
Serialized FormField 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 | |
---|---|
ExternalPropertiesDelegator(MetamergeConfig mc)
Deprecated. |
Method Summary | |
---|---|
int |
compare(Object o1,
Object o2)
Deprecated. |
void |
configurationChanged(MetamergeConfigChange changeEvent)
Deprecated. This method is not used anymore, and does nothing |
String |
getCipher()
Deprecated. Returns the Cipher algorithm used when reading/writing an encrypted file |
Object |
getClone()
Deprecated. |
ExternalPropertiesConfig |
getContainerForKey(Object name)
Deprecated. Always returns null |
ExternalPropertiesConfig |
getDefaultExternalPropertyObject()
Deprecated. Always returns null |
boolean |
getEncrypted()
Deprecated. Gets the encrypted flag of the ExternalPropertiesConfig object |
TDIProperties |
getEPObjects()
Deprecated. |
String |
getFilePath()
Deprecated. Gets the filePath attribute of the ExternalPropertiesConfig object |
List<String> |
getKeys(int level)
Deprecated. This method returns the combined set of property names in all extprop objects |
TDIPropertyStore |
getNamedXP(String name)
Deprecated. Returns the extern property config named name > |
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 |
loadData()
Deprecated. This method reads the external properties into memory for subseqent use. |
void |
mergeData(String path)
Deprecated. Use a named ExternalProperties object instead of this call |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public ExternalPropertiesDelegator(MetamergeConfig mc)
Method Detail |
---|
@Deprecated public void configurationChanged(MetamergeConfigChange changeEvent)
configurationChanged
in interface MetamergeConfigChangeListener
configurationChanged
in class BaseConfigurationImpl
public boolean getSaveNeeded()
getSaveNeeded
in interface ExternalPropertiesConfig
public void loadData() throws Exception
loadData
in interface ExternalPropertiesConfig
Exception
- if the operation does not succeedpublic void saveData() throws Exception
saveData
in interface ExternalPropertiesConfig
Exception
- if the operation does not succeedpublic List<String> getKeys(int level)
getKeys
in interface BaseConfiguration
getKeys
in class BaseConfigurationImpl
level
- can have these values: public Object getParameter(Object name)
BaseConfigurationImpl
getParameter
in interface BaseConfiguration
getParameter
in class BaseConfigurationImpl
name
- The parameter name
@Deprecated public ExternalPropertiesConfig getContainerForKey(Object name)
@Deprecated public ExternalPropertiesConfig getDefaultExternalPropertyObject()
public void setParameter(Object name, Object value)
BaseConfigurationImpl
setParameter
in interface BaseConfiguration
setParameter
in class BaseConfigurationImpl
name
- Parameter namevalue
- Parameter valuepublic void removeParameter(Object name)
BaseConfigurationImpl
removeParameter
in interface BaseConfiguration
removeParameter
in class BaseConfigurationImpl
name
- Parameter namepublic TDIPropertyStore getNamedXP(String name)
public TDIProperties getEPObjects()
public int compare(Object o1, Object o2)
compare
in interface Comparator
public Object getClone()
BaseConfigurationImpl
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
public String getFilePath()
getFilePath
in interface ExternalPropertiesConfig
public void setFilePath(String path)
setFilePath
in interface ExternalPropertiesConfig
path
- The new filePath valuepublic String getPassword()
getPassword
in interface ExternalPropertiesConfig
public void setPassword(String password)
setPassword
in interface ExternalPropertiesConfig
public String getCipher()
getCipher
in interface ExternalPropertiesConfig
public void setCipher(String cipher)
setCipher
in interface ExternalPropertiesConfig
public boolean getEncrypted()
getEncrypted
in interface ExternalPropertiesConfig
public void setEncrypted(boolean encrypted)
setEncrypted
in interface ExternalPropertiesConfig
encrypted
- The new encrypted value@Deprecated public void mergeData(String path) throws Exception
mergeData
in interface ExternalPropertiesConfig
path
- The file path to load properties from
Exception
- Always, use a named ExternalProperties object instead of this
call
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |