Package com.adaptris.aws2.s3
Class ObjectOperationImpl
java.lang.Object
com.adaptris.aws2.s3.S3OperationImpl
com.adaptris.aws2.s3.ObjectOperationImpl
- All Implemented Interfaces:
S3Operation,ComponentLifecycleExtension
- Direct Known Subclasses:
CheckFileExistsOperation,CopyOperationImpl,DeleteOperation,TagOperation,TransferOperation
Operation on a single S3 Object.
This was introduced to demarcate operations that do work on the bucket as a whole as opposed to a single S3 Object in the bucket.
- Since:
- 4.3.0
-
Field Summary
Fields inherited from class com.adaptris.aws2.s3.S3OperationImpl
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe Object in S3 that this operation will target.voidprepare()protected StringGet the key representing the S3 Object.voidsetObjectName(String objectName) The Object in S3 that this operation will target.<T extends ObjectOperationImpl>
TMethods inherited from class com.adaptris.aws2.s3.S3OperationImpl
getBucket, s3Bucket, setBucket, withBucketMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.adaptris.aws2.s3.S3Operation
execute
-
Constructor Details
-
ObjectOperationImpl
public ObjectOperationImpl()
-
-
Method Details
-
prepare
- Specified by:
preparein interfaceComponentLifecycleExtension- Overrides:
preparein classS3OperationImpl- Throws:
CoreException
-
withObjectName
-
s3ObjectKey
Get the key representing the S3 Object. -
getObjectName
The Object in S3 that this operation will target.Generally this is the full key to the object in the bucket.
-
setObjectName
The Object in S3 that this operation will target.Generally this is the full key to the object in the bucket.
-