Package com.adaptris.aws.s3
Class CheckFileExistsOperation
java.lang.Object
com.adaptris.aws.s3.S3OperationImpl
com.adaptris.aws.s3.ObjectOperationImpl
com.adaptris.aws.s3.CheckFileExistsOperation
- All Implemented Interfaces:
S3Operation
,ComponentLifecycleExtension
@ComponentProfile(summary="Check a file exists in S3, throws exception if it doesn\'t",
since="3.8.4")
public class CheckFileExistsOperation
extends ObjectOperationImpl
Check an exists in S3 and throw an exception if it doesn't.
Note that this component will throw an exception if the file does not exist possibly cascading
into a failed message; you probably want to use something like
ExceptionHandlingServiceWrapper
or similar if a missing S3 object is part of your
expected integration pipeline.
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.aws.s3.S3OperationImpl
log
-
Constructor Summary
-
Method Summary
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
-
Constructor Details
-
CheckFileExistsOperation
public CheckFileExistsOperation()
-
-
Method Details
-
execute
- Throws:
Exception
-