Package formflow.library.file
Class NoOpCloudFileRepository
java.lang.Object
formflow.library.file.NoOpCloudFileRepository
- All Implemented Interfaces:
CloudFileRepository
@Service
@Profile("test")
public class NoOpCloudFileRepository
extends Object
implements CloudFileRepository
This implementation of
CloudFileRepository does nothing useful at all.
It logs the methods being called.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoOpCloudFileRepository
public NoOpCloudFileRepository()
-
-
Method Details
-
upload
public void upload(String filepath, org.springframework.web.multipart.MultipartFile file) throws IOException, InterruptedException - Specified by:
uploadin interfaceCloudFileRepository- Throws:
IOExceptionInterruptedException
-
get
- Specified by:
getin interfaceCloudFileRepository
-
delete
- Specified by:
deletein interfaceCloudFileRepository
-