public abstract class ObjectOperationImpl extends S3OperationImpl
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.
log
Constructor and Description |
---|
ObjectOperationImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getObjectName()
The Object in S3 that this operation will target.
|
void |
prepare() |
protected java.lang.String |
s3ObjectKey(AdaptrisMessage msg)
Get the key representing the S3 Object.
|
void |
setObjectName(java.lang.String objectName)
The Object in S3 that this operation will target.
|
<T extends ObjectOperationImpl> |
withObjectName(java.lang.String b) |
getBucket, getBucketName, getKey, mustHaveEither, resolve, s3Bucket, setBucket, setBucketName, setKey, withBucket, withBucketName, withKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
public void prepare() throws CoreException
prepare
in interface ComponentLifecycleExtension
prepare
in class S3OperationImpl
CoreException
public <T extends ObjectOperationImpl> T withObjectName(java.lang.String b)
protected java.lang.String s3ObjectKey(AdaptrisMessage msg) throws InterlokException
InterlokException
public java.lang.String getObjectName()
Generally this is the full key to the object in the bucket.
public void setObjectName(java.lang.String objectName)
Generally this is the full key to the object in the bucket.