
public class S3DeleteTask extends S3AbstractTask
Result of arguments will be as S3 DELETE command.
Format is the following:
"-URL url of S3 service
-accessKey access Key for S3 service
-secretKey secret Key for S3 service
-bucketName bucket Name where to retrieve the object
-sourceName source Name from the bucket to delete the final Object
The order of actions will be:
1) connection to S3 service using access Key and Secret Key
2) Delete from the bucket the source Object
3) the current File is unchanged
ARCHPATH, BLANK, BLOCKSIZE, COMPRESS, DATE, ERRORCODE, ERRORMSG, ERRORSTRCODE, FILESIZE, FULLTRANSFERID, HOMEPATH, HOUR, INPATH, LOCALEXEC, LOCALHOST, LOCALHOSTADDR, NOWAIT, ORIGINALFILENAME, ORIGINALFULLPATH, OUTPATH, RANKTRANSFER, REMOTEHOST, REMOTEHOSTADDR, REQUESTEDHOST, REQUESTERHOST, RULE, TRANSFERID, TRUEFILENAME, TRUEFULLPATH, WORKPATH| Constructor and Description |
|---|
S3DeleteTask(String argRule,
int delay,
String argTransfer,
R66Session session)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
S3TaskFactory.S3TaskType |
getS3TaskType() |
void |
run()
The order of actions will be:
1) connection to S3 service using access Key and Secret Key 2) Delete from the bucket the source Object 3) the current File is unchanged |
finalizeInError, getParamsapplyTransferSubstitutions, getFutureCompletion, getReplacedValue, getSubstitutionMap, getType, isCompressionRequested, isSuccesspublic S3DeleteTask(String argRule, int delay, String argTransfer, R66Session session)
argRule - delay - argTransfer - session - public void run()
public final S3TaskFactory.S3TaskType getS3TaskType()
getS3TaskType in class S3AbstractTaskCopyright © 2009–2022 Waarp. All rights reserved.