public interface FileStoresConfigurationLoader
for more information about the config| Modifier and Type | Method and Description |
|---|---|
boolean |
configExists()
Returns true if the configuration file exists.
|
Optional<io.atlassian.fugue.Either<RuntimeException,FileStoresConfig>> |
loadConfig()
Reads and parses the
FileStoresConfig from its permanent store. |
boolean configExists()
@Nonnull Optional<io.atlassian.fugue.Either<RuntimeException,FileStoresConfig>> loadConfig()
FileStoresConfig from its permanent store.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.Copyright © 2002-2024 Atlassian. All Rights Reserved.