Class SharedStorageConfigProvider

  • All Implemented Interfaces:
    ConfigProvider

    public class SharedStorageConfigProvider
    extends Object
    implements ConfigProvider
    Config provider that determines the directory path that will be used for shared storage between services.

    Default resolution lookup keys are as follows:

    • System Property: kiwi.shared.storage.path
    • Environment Variable: KIWI_SHARED_STORAGE_PATH
    • External Config File: shared.storage.path
    See Also:
    for resolution order
    • Method Detail

      • canProvide

        public boolean canProvide()
        Description copied from interface: ConfigProvider
        Determines if a provider has enough environmental awareness to provide data.
        Specified by:
        canProvide in interface ConfigProvider
        Returns:
        true if the provider can provide data, otherwise false