- All Implemented Interfaces:
- AttachmentDataFileSystemFactory
public class DefaultAttachmentDataFileSystemFactory
extends Object
implements AttachmentDataFileSystemFactory
Factory to returns an AttachmentDataFileSystem instance according to the system property confluence.attachment.data.mode.
If confluence.attachment.data.mode is equal to:
- LOCAL_ONLY then returns the AttachmentDataFileSystem that uses local file system
- DUAL_PRIMARY_LOCAL then returns the dual AttachmentDataFileSystem that uses local file system as primary
- DUAL_PRIMARY_CLOUD then returns the dual AttachmentDataFileSystem that uses external file system (FileStore) as primary
- CLOUD_ONLY then returns the AttachmentDataFileSystem that uses external file system (FileStore)
If confluence.attachment.data.mode is not set, then returns mode LOCAL_ONLY as default.
If invalid value is set for confluence.attachment.data.mode, then an IllegalStateException will be thrown, since the system needs
to be configured properly.
- Since:
- 5.9
- See Also:
- AttachmentData Dual Store modes