Interface IConfiguredPojo


  • @Deprecated
    public interface IConfiguredPojo
    Deprecated.
    Pojo components are deprecated, use IAction
    The interface for a POJO component that wants access to system settings. This is an optional interface.
    Author:
    jamesdixon
    • Method Detail

      • getConfigSettingsPaths

        Set<String> getConfigSettingsPaths()
        Deprecated.
        Returns a list of Strings that define system settings that a POJO component would like read for it. The strings are expected to be in the format of : folder/file{setting path} e.g. "smtp-email/email_config.xml{email-smtp/properties/mail.smtp.host}"
        Returns:
        List of configuration settings paths
      • configure

        boolean configure​(Map<String,​String> props)
        Deprecated.
        Sets the configuration settings that were requested via a call to getConfigSettingsPaths(). The keys of the map will be the Strings that were returned by the call to getConfigSettingsPaths. e.g. "smtp-email/email_config.xml{email-smtp/properties/mail.smtp.host}" -> "myhost.com"
        Parameters:
        props -
        Returns: