Package io.micronaut.objectstorage.local
Class LocalStorageConfiguration
java.lang.Object
io.micronaut.objectstorage.configuration.AbstractObjectStorageModuleConfiguration
io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
io.micronaut.objectstorage.local.LocalStorageConfiguration
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,io.micronaut.core.util.Toggleable
,ObjectStorageConfiguration
,ObjectStorageModuleConfiguration
@EachProperty("micronaut.object-storage.local")
public class LocalStorageConfiguration
extends AbstractObjectStorageConfiguration
Configuration class for local storage.
- Since:
- 2.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Field Summary
Fields inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
name
Fields inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageModuleConfiguration
enabled
Fields inherited from interface io.micronaut.objectstorage.configuration.ObjectStorageModuleConfiguration
DEFAULT_ENABLED
-
Constructor Summary
-
Method Summary
Methods inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageConfiguration
getName
Methods inherited from class io.micronaut.objectstorage.configuration.AbstractObjectStorageModuleConfiguration
setEnabled
-
Field Details
-
NAME
- See Also:
-
PREFIX
- See Also:
-
-
Constructor Details
-
LocalStorageConfiguration
-
-
Method Details
-
getPath
The path of the local storage.- Returns:
- The path of the local storage.
-
setPath
- Parameters:
path
- The path of the local storage.
-
isEnabled
public boolean isEnabled()Whether to enable or disable this object storage.- Since:
- 2.0.2
-