Package com.adaptris.aws.s3
Class GetTagOperation
- java.lang.Object
-
- com.adaptris.aws.s3.S3OperationImpl
-
- com.adaptris.aws.s3.ObjectOperationImpl
-
- com.adaptris.aws.s3.TagOperation
-
- com.adaptris.aws.s3.GetTagOperation
-
- All Implemented Interfaces:
S3Operation
,ComponentLifecycleExtension
@ComponentProfile(summary="Get tags associated with an object in S3", since="3.8.4") public class GetTagOperation extends TagOperation
Get tags associated with a S3 ObjectUses
AmazonS3Client#getObjectTagging(GetObjectTaggingRequest)
In the adapter configuration file this class is aliased as amazon-s3-tag-get which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Field Summary
-
Fields inherited from class com.adaptris.aws.s3.S3OperationImpl
log
-
-
Constructor Summary
Constructors Constructor Description GetTagOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(ClientWrapper wrapper, AdaptrisMessage msg)
protected java.util.Set<MetadataElement>
filterTags(java.util.List<com.amazonaws.services.s3.model.Tag> tags)
-
Methods inherited from class com.adaptris.aws.s3.TagOperation
filterTagMetadata, getTagMetadataFilter, setTagMetadataFilter, tagMetadataFilter, withTagMetadataFilter
-
Methods inherited from class com.adaptris.aws.s3.ObjectOperationImpl
getObjectName, prepare, s3ObjectKey, setObjectName, withObjectName
-
Methods inherited from class com.adaptris.aws.s3.S3OperationImpl
getBucket, resolve, s3Bucket, setBucket, withBucket
-
-
-
-
Method Detail
-
execute
public void execute(ClientWrapper wrapper, AdaptrisMessage msg) throws java.lang.Exception
- Specified by:
execute
in interfaceS3Operation
- Overrides:
execute
in classTagOperation
- Throws:
java.lang.Exception
-
filterTags
protected java.util.Set<MetadataElement> filterTags(java.util.List<com.amazonaws.services.s3.model.Tag> tags)
-
-