Interface ConfigLogic


  • public interface ConfigLogic
    • Method Detail

      • getConfig

        ConfigEntry getConfig()
        Get the current tool placement config
        Returns:
      • saveConfig

        String saveConfig​(ConfigEntry ce)
        Save the configuration to the tool placement config space
        Parameters:
        ce -
        Returns:
        "saveConfig" is returned upon completion
      • getUploadDirectory

        String getUploadDirectory()
        Get the directory where uploads should be stored
        Returns:
      • allowSubjectPrefixChange

        boolean allowSubjectPrefixChange()
        Allow the user to change the prefix that is prepended to the subject of emails. Set through system property "mailsender.allowSubjectPrefixChange".
        Returns:
        true if allowed, false otherwise [default: false]
      • getDefaultSubjectPrefix

        String getDefaultSubjectPrefix()
        Returns the default subject prefix. This is normally DEFAULT_SUBJECT_PREFIX but can be set by the system property "mailsender.subjectprefix".
        Returns:
      • isEmailTestMode

        boolean isEmailTestMode()
        Check if the system is currently set up in a "test" mode, indicating that e-mails should not be actually dispatched, but rather spit into a log or external file for verification purposes.
        Returns:
        true if the system has specified an email test mode, false otherwise