public abstract class AbstractExecTask extends AbstractTask
It provides some common functionnalities.
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
Modifier and Type | Method and Description |
---|---|
protected String |
applyTransferSubstitutions(String line)
Apply transferInfo substitutions
|
protected CommandLine |
buildCommandLine(String line)
Generates a Command line object from rule and transfer data
|
protected Map<String,Object> |
getSubstitutionMap()
Generates a substitution map as expected by Apache Commons Exec
CommandLine
|
getFutureCompletion, getReplacedValue, getType, isSuccess, run
protected String applyTransferSubstitutions(String line)
line
- the line to formatprotected CommandLine buildCommandLine(String line)
line
- the command to process as a stringCopyright © 2009–2020 Waarp. All rights reserved.