public class ExecOutputTask extends AbstractExecTask
The output is ignored if the command has a correct status.
In case of error, if the output finishes with NEWFINALNAME:xxx then
this part is removed from the
output and the xxx is used as the last valid name for the file (meaning the
file was moved or renamed even
in case of error)
waitForValidation (#NOWAIT#) must not be set since it will prevent to have the feedback in case of error. So it is ignored.
Modifier and Type | Field and Description |
---|---|
static String |
DELIMITER
In the final line output, the filename must prefixed by the following
field
|
ARCHPATH, BLANK, BLOCKSIZE, 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 |
---|
ExecOutputTask(String argRule,
int delay,
String argTransfer,
R66Session session) |
Modifier and Type | Method and Description |
---|---|
void |
run()
This is the only interface to execute an operator.
|
applyTransferSubstitutions, buildCommandLine, getSubstitutionMap
getFutureCompletion, getReplacedValue, getType, isSuccess
public static final String DELIMITER
public ExecOutputTask(String argRule, int delay, String argTransfer, R66Session session)
argRule
- delay
- argTransfer
- session
- public void run()
AbstractTask
run
in interface Runnable
run
in class AbstractTask
Copyright © 2009–2020 Waarp. All rights reserved.