Package com.adaptris.aws2.s3
Class ListOperation
java.lang.Object
com.adaptris.aws2.s3.S3OperationImpl
com.adaptris.aws2.s3.ListOperation
- All Implemented Interfaces:
S3Operation,ComponentLifecycleExtension
@ComponentProfile(summary="List of files based on S3 key",
since="4.3.0")
public class ListOperation
extends S3OperationImpl
List of files based on S3 key.
- Since:
- 4.3.0
In the adapter configuration file this class is aliased as amazon-s3-check-file-exists which is the preferred alternative to the fully qualified classname when building your configuration.
-
Field Summary
Fields inherited from class com.adaptris.aws2.s3.S3OperationImpl
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ClientWrapper wrapper, AdaptrisMessage msg) Specify any additional filtering you wish to perform on the list.Specify max number of keys to be returned per page when paging through results.Specify the output style.Specific the prefix for use with the List operation.voidprepare()voidsetFilter(RemoteBlobFilter filter) Specify any additional filtering you wish to perform on the list.voidsetMaxKeys(Integer maxKeys) Specify max number of keys to be returned per page when paging through results.voidsetOutputStyle(BlobListRenderer outputStyle) Specify the output style.voidSpecific the prefix for use with the List operation.withFilter(RemoteBlobFilter filter) withMaxKeys(Integer maxKeys) withOutputStyle(BlobListRenderer render) withPrefix(String prefix) Methods inherited from class com.adaptris.aws2.s3.S3OperationImpl
getBucket, s3Bucket, setBucket, withBucket
-
Constructor Details
-
ListOperation
public ListOperation()
-
-
Method Details
-
prepare
- Specified by:
preparein interfaceComponentLifecycleExtension- Overrides:
preparein classS3OperationImpl- Throws:
CoreException
-
execute
- Throws:
Exception
-
withOutputStyle
-
withFilter
-
withMaxKeys
-
withPrefix
-
getPrefix
Specific the prefix for use with the List operation. -
setPrefix
Specific the prefix for use with the List operation. -
getFilter
Specify any additional filtering you wish to perform on the list. -
setFilter
Specify any additional filtering you wish to perform on the list. -
getOutputStyle
Specify the output style.If left as null, then only the names of the files will be emitted. You may require additional optional components to utilise other rendering styles.
-
setOutputStyle
Specify the output style.If left as null, then only the names of the files will be emitted. You may require additional optional components to utilise other rendering styles.
-
getMaxKeys
Specify max number of keys to be returned per page when paging through results. -
setMaxKeys
Specify max number of keys to be returned per page when paging through results.
-