Package de.dlr.proseo.storagemgr.s3
Klasse S3AtomicFileListGetter
java.lang.Object
de.dlr.proseo.storagemgr.s3.S3AtomicFileListGetter
- Alle implementierten Schnittstellen:
AtomicCommand<List<String>>
S3 Atomic File Getter
- Autor:
- Denys Chaykovskiy
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungS3AtomicFileListGetter
(software.amazon.awssdk.services.s3.S3Client s3Client, String bucket) Constructor to get all filesS3AtomicFileListGetter
(software.amazon.awssdk.services.s3.S3Client s3Client, String bucket, String directory) Constructor to get files from directory -
Methodenübersicht
-
Konstruktordetails
-
S3AtomicFileListGetter
public S3AtomicFileListGetter(software.amazon.awssdk.services.s3.S3Client s3Client, String bucket, String directory) Constructor to get files from directory- Parameter:
s3Client
- s3 clientbucket
- bucketdirectory
- directory
-
S3AtomicFileListGetter
Constructor to get all files- Parameter:
s3Client
- s3 clientbucket
- bucket
-
-
Methodendetails
-
execute
Executes s3 get files- Angegeben von:
execute
in SchnittstelleAtomicCommand<List<String>>
- Gibt zurück:
- uploaded file name
- Löst aus:
IOException
- if atomic command was not successful
-
getInfo
Gets information about atomic command (mostly for logs)- Angegeben von:
getInfo
in SchnittstelleAtomicCommand<List<String>>
- Gibt zurück:
- information about atomic command
-
getCompletedInfo
Gets information about completed atomic command (mostly for logs)- Angegeben von:
getCompletedInfo
in SchnittstelleAtomicCommand<List<String>>
- Gibt zurück:
- information about completed atomic command
-
getFailedInfo
Gets information about failed atomic command (mostly for logs)- Angegeben von:
getFailedInfo
in SchnittstelleAtomicCommand<List<String>>
- Gibt zurück:
- information about failed atomic command
-