Class BaseUserFileProvider

java.lang.Object
org.correomqtt.core.fileprovider.BaseUserFileProvider
Direct Known Subclasses:
PluginConfigProvider, PublishHistory, PublishMessageHistory, ScriptingProvider, SecretStoreProvider, SettingsManager, SubscriptionHistory, ThemeManager

public abstract class BaseUserFileProvider extends Object
  • Field Details

    • SCRIPT_LOG_FOLDER_NAME

      protected static final String SCRIPT_LOG_FOLDER_NAME
    • SCRIPT_EXECUTIONS_FOLDER_NAME

      protected static final String SCRIPT_EXECUTIONS_FOLDER_NAME
    • soyEvents

      protected final SoyEvents soyEvents
  • Constructor Details

    • BaseUserFileProvider

      protected BaseUserFileProvider(SoyEvents soyEvents)
  • Method Details

    • getFile

      protected File getFile()
    • prepareFile

      protected void prepareFile(String hookFile) throws IOException
      Throws:
      IOException
    • saveToUserDirectory

      protected void saveToUserDirectory(String filename, String content)
    • getFromCache

      protected String getFromCache(String dir)
    • getFromCache

      protected String getFromCache(String dir, boolean autocreate)
    • getScriptLogDirectory

      public String getScriptLogDirectory(String filename)
    • getScriptLogDirectory

      public String getScriptLogDirectory(String filename, boolean autocreate)
    • getScriptExecutionsDirectory

      public String getScriptExecutionsDirectory(String filename)
    • getScriptExecutionsDirectory

      public String getScriptExecutionsDirectory(String filename, boolean autocreate)