Interface FileStoresConfigurationLoader

All Known Implementing Classes:
JiraHomeFileStoresConfigurationLoader

public interface FileStoresConfigurationLoader
This class handles loading filestore configuration.
Since:
9.9
See Also:
  • Method Details

    • configExists

      boolean configExists()
      Returns true if the configuration file exists.
      Returns:
      whether the config file exists.
    • loadConfig

      @Nonnull Optional<io.atlassian.fugue.Either<RuntimeException,FileStoresConfig>> loadConfig()
      Reads and parses the FileStoresConfig from its permanent store.
      Returns:
      Optional.empty() if the config file did not exist when it was attempted to be parsed, otherwise an Optional wrapping an Either that contains a RuntimeException if there was an error while parsing the config, or a FileStoresConfig if the config was parsed successfully.